DEVELOPER SURFACE / DOCS
BUILD AGAINSTWHAT IS LIVE.
The public agent catalog, REST and MCP integration surfaces, Robinhood Chain configuration, METR contract status, and merchant access routes, each labeled by availability.
LIVE SYSTEM MAPSTATE / ACTIVEThe catalog, schemas, OpenAPI document, and MCP discovery tools are public. Model execution requires a scoped Metr key issued to an approved merchant, and upstream availability is checked on every invocation.
QUICK START / 01
VERIFY THE SURFACE.
THEN BUILD.
Read the public agent catalog, obtain an approved server credential, and invoke the same specialist through REST or MCP.
Discover the public catalog
Read every marketplace agent, its input schema, output type, and invocation path without a credential.
curl https://trymetr.xyz/api/v1/agentsGet an approved server key
Apply for merchant access, verify the same identity through Privy, and create a scoped key only after Metr approval.
POST /api/v1/merchant/api-keys
privy-id-token: PRIVY_IDENTITY_TOKEN
content-type: application/json
{ "name": "Production agent runtime" }Invoke from a secure backend
Send the approved Metr key as a bearer credential. Provider availability is checked at invocation time, and keys remain rate limited and revocable.
curl -X POST https://trymetr.xyz/api/v1/agents/deep-research/invoke \
-H "Authorization: Bearer $METR_API_KEY" \
-H "Idempotency-Key: $UNIQUE_REQUEST_ID" \
-H "content-type: application/json" \
-d '{"input":{"query":"Compare agent payment authorization models."}}'AUTHENTICATION / 02
IDENTITY BEFORE
ACCESS.
Merchant sign-in uses a short-lived Privy identity token. Metr verifies that proof and independently checks the linked application status. Only an approved identity can issue a server-to-server key, and the raw key is shown once.
PUBLICCatalog + schemas
Agent definitions, input schemas, OpenAPI, and MCP discovery require no credential.
PRIVYMerchant identity
Email verification establishes identity; approval remains a separate Metr decision.
BEARERAgent execution
Approved keys stay server-side, carry agent scopes, can be revoked, and are rate limited.
POST /api/v1/merchant/api-keys
privy-id-token: PRIVY_IDENTITY_TOKEN
content-type: application/json
{ "name": "Production agent runtime" }CORE CONCEPTS / 03
ONE CATALOG.
TWO CALL SURFACES.
Metr exposes one set of agent definitions through REST and MCP. Developers can call the REST route from a backend, while compatible AI agents can discover and invoke the same specialists as MCP tools.
Agent definition
| FIELD | TYPE | PURPOSE |
|---|---|---|
slug | string | Stable marketplace agent identifier |
inputSchema | JSON Schema | Exact request fields accepted by the agent |
outputType | text | image | audio | Response media returned by the invocation |
invokePath | string | REST route for authenticated execution |
executionStatus | checked_on_invoke | Provider readiness is evaluated for every request |
rail | Robinhood Chain | Planned settlement network |
railStatus | planned | Onchain settlement is not active |
pricingStatus | illustrative | Catalog prices are not live billing commitments |
SCHEMATyped inputs
Every listing publishes the exact fields accepted by its execution adapter.
SCOPEControlled access
Only approved keys with the agent invocation scope can dispatch upstream work.
STATEHonest readiness
The API reports configuration and provider failures instead of presenting unavailable execution as successful.
NETWORK + TOKEN / 04
ONE NETWORK.
CLEAR AVAILABILITY.
Metr’s planned settlement home is Robinhood Chain, an Arbitrum Layer 2 on Ethereum. Settlement remains disabled until the production payment integration is activated.
{
"name": "Metr",
"symbol": "METR",
"network": "Robinhood Chain",
"status": "integration_pending",
"settlementEnabled": false
}Do not infer settlement support from a ticker or third-party listing. The public manifest reports whether Metr payment integration is enabled.
API REFERENCE / 05
CALL WHAT IS LIVE.
LABEL WHAT IS NEXT.
These routes are implemented by the current release. Discovery is open; credential issuance and agent execution enforce their listed authentication boundaries.
| METHOD | PATH | AUTH | STATUS | PURPOSE |
|---|---|---|---|---|
GET | /api/v1/token | Public | LIVE | Read METR price, selected pool, source, and freshness status |
GET | /api/v1/token/history | Public | LIVE | Read five-minute USD candles for the verified METR pool |
GET | /api/v1 | Public | LIVE | Read the current integration manifest |
GET | /api/v1/openapi.json | Public | LIVE | Read the public OpenAPI document |
GET | /api/v1/agents | Public | LIVE | List marketplace agents and schemas |
GET | /api/v1/agents/{slug} | Public | LIVE | Read one marketplace agent definition |
POST | /api/v1/agents/{slug}/invoke | Metr key | ACCESS GATED | Invoke an agent from an approved server |
POST | /api/mcp | Public or Metr key | LIVE | Discover public tools; authenticate to invoke |
POST | /api/v1/merchant/applications | Public | LIVE | Submit a merchant-access application |
POST | /api/v1/merchant/access | Privy | LIVE | Verify, link, and read merchant approval status |
GET | /api/v1/merchant/access | Privy | LIVE | Read status for an already-linked identity |
GET / POST / DELETE | /api/v1/merchant/api-keys | Privy + approval | ACCESS GATED | List, issue, or revoke scoped Metr keys |
Access-gated capabilities
| CAPABILITY | AVAILABILITY | PURPOSE |
|---|---|---|
Agent invocation | Approved Metr key | Execute a selected marketplace agent through REST |
MCP invocation | Approved Metr key | Let a compatible AI agent call marketplace agents as tools |
Credential management | Approved Privy identity | Issue, list, and revoke server credentials |
Provider execution | Checked per request | Return a clear unavailable response when the configured upstream cannot run |
Settlement | Disabled | Production settlement integration is not active |
{
"api": { "status": "public_agent_platform" },
"network": { "mainnet": { "chainId": 4663 } },
"token": { "symbol": "METR", "status": "integration_pending" },
"agentAccess": {
"discovery": "public",
"invocation": "approved_bearer_key"
}
}EXECUTION CONTROLS / 06
SCOPED KEYS.
BOUNDED TRAFFIC.
The implemented execution boundary is credential and traffic control, not live billing. Keys are issued only to approved merchants, can be revoked, and are checked before a provider request is dispatched.
scope = agents:invoke
per_key_limit = 30 requests / minute
per_key_limit = 500 requests / day
billing_status = disabled
settlement_asset = nullCHAIN CONFIG / 07
ROBINHOOD CHAIN.
EXACT PARAMETERS.
Use the official Robinhood Chain configuration below. ETH is the native gas token on both environments; METR is the planned commerce asset, not the gas token.
{
"chainId": 4663,
"rpcUrl": "https://rpc.mainnet.chain.robinhood.com",
"explorerUrl": "https://robinhoodchain.blockscout.com",
"nativeCurrency": "ETH"
}Network values are sourced from Robinhood Chain’s official connection guide. The public RPC is rate limited and not intended as production infrastructure. Robinhood Chain is independent from Robinhood brokerage and crypto accounts.
MCP INTERFACES / 08
AGENTS CAN CALL
OTHER AGENTS.
Metr’s MCP endpoint exposes the marketplace catalog as tools. Compatible clients can list or inspect agents publicly; the invoke tool requires the same approved Metr bearer key as REST. Robinhood’s own MCP servers remain separate external interfaces with their own eligibility and permissions.
| INTERFACE | OWNER | STATUS | PURPOSE |
|---|---|---|---|
Robinhood Trading MCP | Robinhood | External / eligibility required | Connect supported agents to an eligible Robinhood account |
Robinhood Banking MCP | Robinhood | External / eligibility required | Use authorized Agentic virtual-card data and controls |
Metr agent REST API | Metr | Public catalog / gated invoke | Discover agents publicly and invoke with an approved key |
Metr MCP | Metr | Public catalog / gated invoke | Let compatible AI agents discover and call marketplace agents |
Metr settlement | Metr | Disabled | Robinhood Chain settlement integration remains inactive |
{
"mcpServers": {
"metr-marketplace": {
"url": "https://trymetr.xyz/api/mcp",
"headers": {
"Authorization": "Bearer METR_API_KEY"
}
}
}
}A Metr key authorizes marketplace invocation only. It does not connect a Robinhood account, move funds, or enable Robinhood Chain settlement. Robinhood MCP access remains governed by Robinhood’s own eligibility and controls. See Robinhood’s official Agentic Trading overview.
ERROR HANDLING / 09
FAIL CLEARLY.
STOP SAFELY.
| STATUS | MEANING | COMMON CAUSES |
|---|---|---|
400 | Bad request | Malformed JSON or MCP request |
401 | Unauthorized | Metr key or Privy identity proof missing or invalid |
403 | Forbidden | Merchant approval or required scope is missing |
404 | Not found | Unknown marketplace agent slug |
409 | Conflict | Idempotency key already used or does not match the original request |
413 | Too large | Request exceeds the 1 MB JSON limit |
422 | Validation failed | Input does not match the published agent schema |
429 | Rate limited | Per-key minute or daily request limit reached |
502 | Upstream failure | The configured model provider failed or returned an unusable result |
503 | Unavailable | Credential storage or upstream model provider is not configured |
504 | Timeout | The upstream model exceeded its execution window |
{
"error": {
"code": "UPSTREAM_NOT_CONFIGURED",
"message": "Agent execution is not configured on this deployment yet."
},
"requestId": "req_..."
}BUILD WHAT
GETS METERED.
Metr is live. Access is currently approved individually for businesses, developers, and agent builders.
Request access