403 MACHINE_NOT_ACTIVATED. Catalogue reads over HTTP still answer: GET /skills, GET /market/services and GET /market/adapter-credential-stack.
Scale pairs an to an activated, machine and gives it delegated, bounded authority to search and order for the machine from its , limited by spend limits and an allow/denylist that the orchestrator enforces. The agent discovers, buys, and consumes services through the Machine Markets API. The agent is provisioned outside peaq; pairing, policy, discovery, ordering, payment, and execution happen through peaqOS.
It uses the machine’s identity from Activate and the credit signal from Qualify. The machine’s and carry through to providers when the agent buys.
What ships
How it works
- Activate the machine. Pairing needs an active, bonded machine whose identity the orchestrator can resolve through the MCR API. Its DID controller signs the identity proof in step 2: an EVM address for a peaq-homed machine (the MCR
operator), a Solana public key for a Solana-homed one (the MCRcontroller, or itsownerwhen no controller is set). A machine with no such key is refused withMACHINE_NOT_ACTIVATED. Scale is paused (see the top of this page). See CLI: Scale setup. - Prove identity ownership.
POST /machine-identity/challengesreturns a message that the DID-controller key signs in the scheme the challenge names inverificationMethod: for an EVM controller, for a Solana one (see Signing a challenge). The signed proof is attached when the machine is registered with the orchestration service. - Provision a Machine Agent. Get an agent from any provider you trust: Claude, OpenAI, Virtuals, Teneo, your own runtime. peaq does not provide the agent.
- Pair the agent. is -based.
POST /machines/:machineId/agent-pairings/challengeswith the agent’sagentAddress,agentProvider,agentRole, and optionalagentDid. The response is anAgentPairingChallengewithchallengeId,message,expiresAtandverificationMethod(eip191for an EVMagentAddress,ed25519for a base58 Solana public key: the server picks it from the address).- The Machine Agent signs
messagewith the wallet key behindagentAddress: EIP-191personal_signfor an EVM key, ed25519 over the raw UTF-8 bytes for a Solana key. POST /machines/:machineId/agent-pairingswithagentProof: { challengeId, signature }and the delegation policy. The orchestrator verifies the signature, persists the pairing withverificationmetadata, and returns theAgentPairingwith a signed session JWT inpairingToken. Store it client-side and send it asx-agent-pairing-tokenon market writes.- Tokens expire (default 1 hour). Rotate by issuing a fresh challenge and calling
POST /machines/:machineId/agent-pairings/:pairingId/sessionswith the new proof. Rotate after anyPATCHto the delegation policy.
- Search the market. The agent calls
POST /market/searchwith machine context, service type, capabilities, region, budget, and optionalproviderCredentials. The orchestrator returns rankedMarketQuotes with reasons for each ranking. - Place an order.
POST /market/orderswithmachineId,agentPairingId,serviceId, and optionalsearchId+quoteIdcreates an order (statuscreated). The orchestrator enforces the and per-transaction and daily spend limits at create. The recommended is copied from the service intoorder.payment. - Settle payment.
POST /market/orders/:orderId/payment-intentmints a payment record on the chosen rail. For wallet-based rails, submitPOST /payment-proofafter the transfer (EVM proofs are RPC-verified against the ERC-20 Transfer log). For the x402 rail there is no buyer transfer: the agent wallet signs the provider’s payment challenge and the signed header is the proof; the provider is paid during execute. For rails, callPOST /payment/escrow-lockwith the on-chain lock transaction. Once funds clear, the order moves toready. - Execute.
POST /market/orders/:orderId/executematerialises the order as a task plus route, dispatches to a native provider or a machine-side runtime endpoint, and writes aRunplus anOutcome. Successful runs land indelivered. External-handoff services return a structured handoff and land inhandoff. - Confirm or dispute.
POST /market/orders/:orderId/confirmcloses the order and moves held funds torelease_pending. Settle through the payment rail, then callPOST /market/orders/:orderId/payment/releaseto record the release (the endpoint updates the payment record, it does not move funds). If the service did not deliver,POST /market/orders/:orderId/disputeopens a dispute and freezes payment until peaq resolves it.
Read-only shortcut
Free, read-only operations can skip the order flow entirely.POST /market/services/:serviceId/execute runs the operation directly with machineId, agentPairingId, operation, and optional input / providerCredentials. The orchestrator dispatches through the same task + route + run + outcome machinery as executeMarketOrder but does not create an order, payment intent, or escrow record. Paid, external-handoff, and state-changing operations still go through POST /market/orders.
Payment model
peaqOS does not collect marketplace payments. The payment-intent and payment-proof endpoints record provider/service payment state only when the selected adapter requires direct provider payment. Operators or machines pay the selected provider directly through that provider’s supported rail. Raw payment headers are never stored.Payment rails
The orchestrator quotes services in the rail the provider supports. Active rails:
The orchestrator does no or token conversion: the agent pays in the chain and token the service quotes.
Service providers
- QVAC: private inference.
- agentic.market: 2Captcha, Firecrawl and Wolfram|Alpha over ; Claude, ChatGPT and Exa as external handoffs.
- pay.sh: Gemini, BigQuery, Document AI, StableUpload, Cloud Translation.
- Akash: decentralized compute.
- Aethir: decentralized GPU compute.
- Allora: topic inference and worker registration.
- Pyth: price feeds.
- Acurast: decentralized compute; its Deploy Agent runs as a native x402 provider runtime in the orchestrator.
- Arcium: confidential compute (
compute.confidential). - GEODNET: RTK precision-positioning data.
- Naver Maps: mapping and geolocation APIs.
- Korea Public Data (Data.go.kr): EV charging stations and chargers, next-hour weather, and AirKorea PM2.5. Needs a portal service key, sent with every request and never stored.
- World ID: proof of personhood (
identity.proof-of-person). - Walrus: object storage.
- Home Assistant: device control on the machine’s local network, on a self-hosted orchestrator configured with
HOME_ASSISTANT_BASE_URLandHOME_ASSISTANT_TOKEN. - Aave: treasury deposits.
- peaq Telemetry Export: fleet telemetry export and machine data publishing.
GET /market/services and market search. The adapter registry (GET /market/adapter-credential-stack) is the authoritative list of what needs credentials or setup.
Delegation policy
PATCH /machines/:machineId/agent-pairings/:pairingId. Revoking a pairing (DELETE) terminates the agent’s delegated access immediately, unless the pairing has open market orders (OPEN_MARKET_ORDERS).
Multichain
A machine’s peaqID and Machine NFT live on its home chain (peaq or Solana); the is on peaq; Machine Agents pay in the chain and token a service quotes. Read the Omni-chain concept for where a machine lives and the roadmap for chain rollout.Build with Scale
Machine Markets API
Base path, access model, error codes, and the full HTTP endpoint surface.
Machine Markets (concept)
How pairing, skills, services, orders, payments, and execution hang together.
peaqOS CLI: scale
peaqos scale agent pair, search, and the order family from your terminal.
