AsterPay Data API

The data API from AsterPay — 39 operation(s) for data.

Operations 39

GET /v1/data/fx/ecb ECB euro reference rates, 30 currencies — $0.003 #
GET /v1/data/fx/pair/{base}/{quote} FX cross rate from ECB fixings — $0.003 #
GET /v1/data/energy/oil Brent and WTI spot price (EIA) — $0.007 #
GET /v1/data/energy/natgas Henry Hub natural gas spot (EIA) — $0.007 #
GET /v1/data/energy/us-grid US grid demand and generation mix, hourly (EIA) — $0.007 #
GET /v1/data/energy/crude-imports US crude oil imports by origin country, latest month (EIA-814) — $0.007 #
GET /v1/data/energy/nuclear-outages US nuclear reactor outages today (NRC via EIA) — $0.007 #
GET /v1/data/energy/steo-forecast EIA 18-month forecast: Brent, WTI, Henry Hub, gasoline, US and world oil… #
GET /v1/data/energy/us-energy-overview US total energy: production, consumption, trade and CO2 (Monthly Energy Review)… #
GET /v1/data/energy/electricity-retail/{state} US retail electricity price, sales and customers by state and sector — $0.007 #
GET /v1/data/macro/us-debt US national debt to the penny (Treasury) — $0.003 #
GET /v1/data/macro/inflation/{region} Consumer price inflation, US (BLS) or EU (Eurostat HICP) — $0.007 #
GET /v1/data/macro/rates Policy rates and US yield curve (Fed, ECB, Treasury) — $0.007 #
GET /v1/data/macro/recession US recession signals: Sahm rule and prediction markets — $0.007 #
GET /v1/data/macro/bank-failures US bank failures, year to date (FDIC) — $0.003 #
GET /v1/data/stablecoins/supply Stablecoin supply by issuer, USD and EUR pegged — $0.007 #
GET /v1/data/stablecoins/peg Stablecoin peg deviations — $0.007 #
GET /v1/data/crypto/fear-greed Crypto Fear and Greed index — $0.003 #
GET /v1/data/crypto/hacks DeFi hacks and exploits, last 30 days and YTD — $0.007 #
GET /v1/data/security/cve-critical Critical CVEs published in the last 24 hours (NVD) — $0.007 #
GET /v1/data/security/kev CISA Known Exploited Vulnerabilities, latest additions — $0.003 #
GET /v1/data/security/ransomware Ransomware victims posted on leak sites — $0.007 #
GET /v1/data/company/vat/{vatId} EU VAT number validation (VIES) — $0.007 #
GET /v1/data/company/verify/{vatId} EU merchant verification bundle: VIES + national register + LEI, one verdict… #
GET /v1/data/company/profile/{country}/{id} Company profile from the national register (FI) or any LEI, with legal form… #
GET /v1/data/company/signals/{country}/{id} Company change signals, last 365 days: name, address, legal form, business… #
GET /v1/data/company/due-diligence/{vatId} Counterparty due-diligence report for an EU business: proceed / manual_review /… #
GET /v1/data/tenders/eu/{country}/{cpv} EU public tenders (TED) by country and CPV, open notices sorted by submission… #
GET /v1/data/risk/agi AGI arrival forecasts from prediction markets — free #
GET /v1/data/risk/ai-extinction AI extinction risk forecasts and the Doomsday Clock — free #
GET /v1/data/risk/doomsday-clock Doomsday Clock: seconds to midnight — free #
GET /v1/data/risk/asteroids Asteroid close approaches next 7 days and Sentry impact risk — $0.002 #
GET /v1/data/risk/space-weather Geomagnetic storm level and space weather alerts (NOAA) — $0.002 #
GET /v1/data/risk/earthquakes Earthquakes M4.5+ in the last 24 hours (USGS) — $0.002 #
GET /v1/data/risk/outbreaks WHO Disease Outbreak News, latest — $0.002 #
GET /v1/data/risk/climate Atmospheric CO2 and global temperature anomaly — $0.002 #
GET /v1/data/risk/markets Prediction markets on recession, AI, nuclear, Taiwan, Iran, pandemic — $0.002 #
GET /v1/data/risk/board World Risk Board: all risk doors in one response — free #
GET /v1/data Data doors catalog — free #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/asterpay-io:asterpay-io-data-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

asterpay-io-data-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Asterpay Io Data API
  version: 3.1.0
  contact:
    name: AsterPay
    url: https://asterpay.io
    email: petteri@asterpay.io
  x-guidance: 'AsterPay is an API for AI agents: Know Your Agent trust scoring, crypto market data, AI text tools, and USDC to EUR settlement (SEPA Instant).


    HOW TO PAY: call any endpoint; an unpaid call returns 402 with an `accepts` array. Pay in USDC on any listed chain (Base, Ethereum, Polygon, Arbitrum, Optimism, SKALE) via x402 (resend with a PAYMENT-SIGNATURE header, SDK @x402/fetch) or MPP (Authorization: Payment, SDK mppx). No API key, no signup.

    FIRST CALL FREE: a wallet that has never paid AsterPay gets its first sub-$0.03 paid call for $0. Send a normally signed payment; it is verified but never settled. Your wallet must still hold the price so your client will sign.


    FREE (no payment): GET /v1/agent/discovery (full catalog), GET /v2/x402/market/rates, POST /v1/ai/fact-check (claim vs supplied source text).


    FREE DAILY QUOTA, then $0.0075 (25 unpaid calls per IP per UTC day; response headers X-Free-Quota-Limit / X-Free-Quota-Remaining):

    - GET /v1/agent/trust-score/{address}: agent trust score 0-100 with breakdown

    - GET /v1/agent/verify/{address}: ERC-8004 identity check

    - GET /v1/agent/tier/{address}: trust tier

    - GET /v1/settlement/estimate?amount={usdc} and GET /v2/x402/offramp/estimate?amount={usdc}: EUR settlement quote


    PAID:

    - GET /v1/agent/deep-analysis/{address} $0.015: behavioral analysis of an agent wallet; POST /v1/agent/trust-score/batch $0.03

    - GET /v1/crypto/token-analysis/{address} $0.15, GET /v1/crypto/wallet-score/{address} $0.075, GET /v1/crypto/whale-alerts $0.03

    - GET /v1/market/price/{symbol} $0.0075, GET /v1/market/ohlcv/{symbol} $0.015, GET /v1/market/trending $0.0075, GET /v2/x402/crypto/prices $0.0075

    - POST /v1/ai/summarize $0.006, POST /v1/ai/sentiment $0.006, POST /v1/ai/translate $0.03, POST /v1/ai/code-review $0.075

    - GET /v2/x402/agent-readiness?url={site} $0.03: agent-readiness scan of any website


    - DATA DOORS (GET /v1/data, free catalog): EU merchant verification GET /v1/data/company/verify/{vatId} $0.05 (VIES + register + LEI, one verdict), company profile $0.015 and change signals $0.03, EU tenders GET /v1/data/tenders/eu/{country}/{cpv} $0.02, plus FX, energy, macro, stablecoins, security and risk feeds from $0.0015.

    WATCHLIST LOOP: tenders and company/signals take ?since=YYYY-MM-DD and return next_since. Poll once a day with the previous next_since and you pay only for new notices or events (e.g. 100 country/CPV keys = $2/day). Recipe: https://x402.asterpay.io/llms.txt#watchlist


    WHEN TO CALL: run company/verify before paying an EU merchant and trust-score before paying an unknown agent; use settlement/estimate to price USDC to EUR before an off-ramp; use market and AI endpoints as pay-per-call utilities.

    Full reference: https://x402.asterpay.io/llms.txt'
  description: 'Operations tagged data across 2 of this provider''s published API definitions: asterpay_io_openapi.json, asterpay-io-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://x402.asterpay.io
tags:


# --- truncated at 32 KB (460 KB total) ---
# Full source: https://artifacts.apis.io/asterpay-io/openapi/asterpay-io-data-api-openapi.yml