Protocol
Discovery
Machine-readable offers via per-merchant OpenAPI documents.
Every merchant publishes offers at /m/{slug}/openapi.json: an OpenAPI 3.1
document where each paid route carries x-payment-info.offers[] entries:
amount, currency contract, network, and recipient. Agents can price a call
before making it.
Aggregate index
The marketplace aggregates all merchants into a single crawlable index. The root of the machine domain serves the aggregate discovery document:
curl https://api.meshgateway.co/openapi.jsonThis is the surface that registries such as mppscan index.
Per-merchant document
curl https://api.meshgateway.co/m/acme/openapi.jsonEach paid route lists its offers:
{
"x-payment-info": {
"offers": [
{
"amount": "0.01",
"currency": "0x…",
"network": "base",
"recipient": "0x…"
}
]
}
}