$0.01 per data call. Free discovery.
MainMarket is pay-per-call. Discovery endpoints (the catalog of stores and chains, the OpenAPI spec, the methodology doc) are free so an agent can shop the API without spending anything. Data endpoints (prices, products, coupons, indices, aisles, list resolution) are $0.01 USDC per request.
These return data without any Authorization header. Use them to discover what stores and chains exist before issuing paid calls.
| Method | Path | Purpose |
|---|---|---|
| GET | /v1/stores | Geo-search stores |
| GET | /v1/stores/{id} | Single store detail |
| GET | /v1/chains | Bulk chain lookup |
| GET | /v1/chains/{slug} | Single chain detail |
| GET | /health | Liveness + DB ping |
| GET | /openapi.json | Full OpenAPI 3.1 spec |
| GET | /skill.md | Agent-facing skill manifest |
| GET | /llms.txt | LLM crawler manifest |
| GET | /prompts.json | Prebuilt agent prompts |
| GET | /.well-known/x402 | x402 discovery |
| GET | /.well-known/mpp | MPP discovery |
| GET | /methodology.md | Index methodology doc |
Each call to one of these endpoints requires an x402 / MPP payment proof, an internal Cart token, or a B2B API key. See Authentication for the full flow.
| Method | Path | Purpose |
|---|---|---|
| GET | /v1/products | Catalog search |
| GET | /v1/products/{id}/coupons | Coupons for one product |
| GET | /v1/prices | Store-level prices, tiered fallback |
| GET | /v1/coupons | Active coupons + geo filter |
| GET | /v1/coupons/{id} | All deals for one coupon |
| GET | /v1/coupons/{id}/savings | Savings computation |
| GET | /v1/stores/{id}/coupons | Coupons available at one store |
| GET | /v1/stores/{id}/aisles | Aisles for one store |
| GET | /v1/chains/{slug}/aisles | Aisles aggregated per chain |
| POST | /v1/chains/{slug}/resolve-list | Bulk shopping-list resolver |
| GET | /v1/indices/{slug} | Monthly published index series |
0x8335...02913. Network: eip155:8453.pympp ships a full verifier.For dashboards, recurring agents, or anything north of a few thousand calls per month, an enterprise B2B key avoids per-call settlement latency and gives you a single monthly invoice. SLAs on freshness and additional chain coverage are negotiable.
Contact hello@mainmarket.com with your volume, the routes you intend to hit, and any chain or geo coverage requirements.