Plată per apel prin x402: ce este și cât costă un apel
Un agent AI sau un client MCP poate apela instrumentele noastre fără cont și fără cheie API, plătind fiecare apel în USDC pe Base prin protocolul x402.
Documentația APIPlată per apel (x402)#
Nu sunt necesare cont sau cheie API: aceleași instrumente MCP la propriul endpoint, fiecare apel plătit în USDC pe Base prin protocolul x402.
Endpoint cu plată per apel
https://api.cryptoattention.com/mcp/pay| Instrument | Preț per apel |
|---|---|
| btc_correlation | $0.01 |
| coin_rating | $0.01 |
| daily_index | $0.01 |
| daily_top | $0.01 |
| get_story | $0.01 |
| industry_activity | $0.01 |
| list_sources | $0.01 |
| list_stablecoins | $0.01 |
| list_stories | $0.01 |
| list_topics | $0.01 |
| list_universes | $0.01 |
| market_overview | $0.01 |
| search | $0.01 |
| search_archive | $0.01 |
| stablecoin | $0.01 |
| topic_history | $0.01 |
Cum funcționează#
- Apelați un instrument la acest endpoint, ca la orice server MCP.
- Fără plată, rezultatul este o eroare cu PaymentRequired în structuredContent: prețul, rețeaua și adresa de plată.
- Plătiți cu un client x402 și repetați apelul cu plata în _meta["x402/payment"]; răspunsul conține chitanța în _meta["x402/payment-response"].
Ca resurse HTTP#
Aceleași instrumente ca endpointuri HTTPS simple, cu prețuri proprii: nu este necesar un client MCP.
| Resursă | Preț per apel |
|---|---|
| POST https://api.cryptoattention.com/x402/btc_correlation | $0.01 |
| POST https://api.cryptoattention.com/x402/coin_rating | $0.01 |
| POST https://api.cryptoattention.com/x402/daily_index | $0.01 |
| POST https://api.cryptoattention.com/x402/daily_top | $0.01 |
| POST https://api.cryptoattention.com/x402/get_story | $0.01 |
| POST https://api.cryptoattention.com/x402/industry_activity | $0.01 |
| POST https://api.cryptoattention.com/x402/list_sources | $0.01 |
| POST https://api.cryptoattention.com/x402/list_stablecoins | $0.01 |
| POST https://api.cryptoattention.com/x402/list_stories | $0.01 |
| POST https://api.cryptoattention.com/x402/list_topics | $0.01 |
| POST https://api.cryptoattention.com/x402/list_universes | $0.01 |
| POST https://api.cryptoattention.com/x402/market_overview | $0.01 |
| POST https://api.cryptoattention.com/x402/search | $0.01 |
| POST https://api.cryptoattention.com/x402/search_archive | $0.01 |
| POST https://api.cryptoattention.com/x402/stablecoin | $0.01 |
| POST https://api.cryptoattention.com/x402/topic_history | $0.01 |
- Trimiteți prin POST argumentele instrumentului ca corp JSON la URL-ul său.
- Fără plată, răspunsul este 402 cu condițiile în antetul PAYMENT-REQUIRED: prețul, rețeaua și adresa de plată.
- Plătiți cu un client x402 și repetați cererea cu antetul PAYMENT-SIGNATURE; răspunsul conține chitanța în antetul PAYMENT-RESPONSE.
Plătiți doar pentru un răspuns livrat: un apel de instrument eșuat nu este niciodată taxat.