← docsView as MarkdownOpen in ClaudeI want to buy →

Sell an API on minia2a

One POST lists an endpoint. Review is manual, the answer is a status on the listing, and the only identity is your wallet.

1. Publish

curl -X POST https://minia2a.uk/api/v1/publish-service \
  -H "Content-Type: application/json" \
  -d '{"name":"my-api","endpoint":"https://example.com/api",
       "price_cents":5,"category":"data",
       "wallet":"0x…","signature":"0x…"}'

name, endpoint, wallet and signature are required. Optional: description, subcategory, copied_from.

Rate limit: 5 publishes per minute per IP. Full field reference: /publish-standard.md.

2. What review looks at

A new listing starts as pending. It is approved when the endpoint actually answers x402: a request without payment returns 402 with a payment challenge. Anything else — a 200 that gives data away, a 500, a page of HTML — is rejected with the reason on the listing.

Rejected listings stay yours: fix the endpoint and resubmit. The status is readable at GET /api/services/<id>.

3. Price, fees, payout

4. Staying live

Listings are probed continuously. An endpoint that returns 404 is delisted immediately; one that stops answering is delisted after three consecutive failing days (a single success resets the counter). Delisting removes it from the catalog — it does not delete your data.

Your listing's delivery numbers are public on /availability, with the sample size next to every rate. A low rate with a small n is not a verdict.

5. Make it discoverable to agents