Extraction APIs for AI agents

Invoice-to-JSON, on-chain tools (transaction explainer + payment check, wallet profile, contract ABI, ERC-20 token risk), company contacts and web-to-RAG for AI agents. Pay per call with x402 (USDC on Base). No signup, no API key.

Every route allows 1 free call per caller with real parameters. After that, call it with any x402 client: the API answers HTTP 402 with the price, your client signs a USDC payment on Base, and the request is repeated. Verified on PayAPI Market (one settled test payment per route by PayAPI Market, not an audit or uptime guarantee: holidays (tx), token-risk (tx), site-contacts (tx), page-rag (tx), tx-explain (tx), wallet-profile (tx), contract-abi (tx), token-info (tx), ens (tx), tx-status (tx), dns (tx), domain-whois (tx), ssl-cert (tx), geocode (tx); invoice-json not verified yet)

Invoice to JSON

Extract invoice data to JSON with verbatim quotes, confidence scores, arithmetic checks.

$0.0075 / page

/api/invoice-json

ERC-20 Token Risk Check

Check ERC-20 token risk on Base and Ethereum using public on-chain data.

$0.005 / call

/api/token-risk

Transaction Explainer + Payment Check

Explain a Base or Ethereum transaction in plain JSON and check that a payment arrived.

$0.0025 / call

/api/tx-explain

Wallet / Address Profile

Profile a Base or Ethereum address: EOA, contract or 7702 account, balances, nonce.

$0.005 / call

/api/wallet-profile

Contract ABI + Proxy Resolver

Get a contract ABI, verified source status and proxy implementation on Base or Ethereum.

$0.0025 / call

/api/contract-abi

Company Website Contacts

Public company contacts from a website: role emails with MX check, phones, address, company IDs.

$0.004 / call

/api/site-contacts

Web Page to RAG Chunks

Convert any public web page to clean Markdown, heading-aware RAG chunks and metadata.

$0.0025 / call

/api/page-rag

$0.005 / call

/api/token-score

$0.01 / call

/api/token-portfolio

$0.0075 / call

/api/token-compare

$0.005 / call

/api/rug-check

$0.0025 / call

/api/token-price

$0.004 / call

/api/token-prices

$0.005 / call

/api/token-price-history

$0.005 / call

/api/news-monitor

$0.005 / call

/api/news-entity

$0.005 / call

/api/news-sentiment

$0.0075 / call

/api/company-profile

$0.005 / call

/api/company-techstack

$0.004 / call

/api/company-contacts

$0.022 / call

/api/company-batch

Pay by card

No crypto wallet? Buy prepaid credits by card on Gumroad: 1,000 credits $3, 5,000 $12, 20,000 $40. 1 credit = $0.001 of the normal price (invoice-json 7.5 per page, token-risk 5, wallet-profile 5, site-contacts 4, tx-explain 2.5, contract-abi 2.5, page-rag 2.5, token-info 2.5, ens 2.5, tx-status 1.5, dns 2.5, domain-whois 5, ssl-cert 5, geocode 1.5, feed-json 2.5, sitemap 3, qr-code 1.5, utilities 1-10, dataset downloads 1,000; fractions are rounded down per call, min 1). Send your license key in the X-License-Key header on any route or on the MCP endpoint. Failed calls are not charged, credits do not expire, and unused credits can be refunded within 30 days.

Billing policy

Failed calls are never charged. Failed calls are never charged: the payment is verified first, the request runs, and the payment is settled only if it succeeded. Errors (4xx/5xx) are not settled, and invalid input is rejected before any payment or free call.

Quick start

Free call (no wallet needed)

curl -s "https://freetier-agent-api.pages.dev/api/page-rag?url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FHTTP_402"

Pay by card (no wallet): prepaid credits

Buy a credit pack on Gumroad (1,000 credits $3), then send your license key. The X-Credits-Remaining response header shows your balance; failed calls are not charged.

curl -s "https://freetier-agent-api.pages.dev/api/page-rag?url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FHTTP_402" \
  -H 'X-License-Key: YOUR-LICENSE-KEY'

JavaScript / TypeScript (@x402/fetch)

// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPaymentFromConfig } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.EVM_PRIVATE_KEY); // wallet with USDC on Base
const fetchWithPayment = wrapFetchWithPaymentFromConfig(fetch, {
  schemes: [{ network: "eip155:8453", client: new ExactEvmScheme(account) }],
});
const res = await fetchWithPayment("https://freetier-agent-api.pages.dev/api/page-rag?url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FHTTP_402");
console.log(await res.json());

Python (x402 + httpx)

# pip install "x402[httpx,evm]" eth-account
import asyncio, os
from eth_account import Account
from x402 import x402Client
from x402.http.clients import x402HttpxClient
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

async def main():
    client = x402Client()
    register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
    async with x402HttpxClient(client) as http:
        r = await http.get("https://freetier-agent-api.pages.dev/api/page-rag?url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FHTTP_402")
        print(r.json())

asyncio.run(main())

More utilities ($0.001-$0.01 per call)

EndpointPriceWhat / when to use
/api/robots-check$0.003Check whether a URL may be crawled per the site's robots.txt for a given user-agent.
Use robots-check before crawling a URL with your own user-agent.
/api/page-meta$0.0025Fetch a public web page (robots.txt respected) and return title, meta description, canonical, Open Graph/Twitter tags, language, headings, link counts, HTTP status.
Use page-meta for title, description, Open Graph and headings only; for full content use page-rag.
/api/llm-cost$0.005Token & cost calculator: estimate tokens for a text (or pass input_tokens/output_tokens) and price it across several models using provider list prices (LiteLLM price table, MIT).
Use llm-cost to compare what a workload costs across models.
/api/page-check$0.0025One-call page audit for agents: HTTP status, redirects, latency, title, meta description, canonical, lang, Open Graph, JSON-LD types, headings, word count, plus agent-friendliness: robots.txt rules for 14 AI crawlers, llms.txt, sitemap, and a 0-100 score with reasons.
Use page-check for status, redirects, headers and SEO basics of a URL; for content use page-rag.
/api/link-check$0.0025Check up to 20 URLs in one call: HTTP status, final URL after redirects, redirect count, latency, content-type, ok flag.
Use link-check to test up to 20 URLs for broken links in one call.
/api/country$0.0025Country reference lookup by ISO2/ISO3/name: capital, population, area, continent, currency, phone prefix, TLD, languages, neighbours, time zones with current UTC offset and local time.
Use country for ISO codes, capitals, currencies, calling codes and time zones.
/api/holidays$0.0015Public holidays for ~490 countries/territories for 2026 and 2027; optional date=YYYY-MM-DD answers is_holiday.
Use holidays to list public holidays or test one date for a country.
/api/currency$0.002Currency conversion with official ECB euro reference rates (~30 currencies, daily).
Use currency for ECB reference exchange rates and conversion.
/api/base-gas$0.0015Base gas price: Live Base mainnet gas price (gwei), latest block, and estimated ETH cost of a USDC transfer (~65k gas) and a plain ETH transfer (21k gas).
Use base-gas for current Base gas price and the cost of a transfer.
/api/page-markdown$0.0025Page to Markdown: Convert a public web page to clean Markdown (title, headings, paragraphs, lists, links, code), scripts/nav/footer removed, max ~60k chars.
Legacy converter. page-rag gives cleaner main-content Markdown plus chunks at the same price.
/api/email-verify$0.004Email verify: Email address check WITHOUT sending mail or SMTP probing: RFC-style syntax check, domain MX/A records via DNS-over-HTTPS, disposable-domain flag (CC0 blocklist, ~9,900 domains), role-address flag (info@, support@...), free-mail flag.
Use email-verify to check syntax, MX and disposable domains for one address (DNS only, no mailbox probe).
/api/extract-json$0.01Extract JSON: Messy text + JSON Schema in, clean JSON out.
Use extract-json for short free text with your own JSON schema; for invoices and receipts use invoice-json.
/api/gas$0.0015Gas price (5 EVM chains): Live gas prices across 5 EVM chains in one call (Ethereum, Base, Arbitrum, Optimism, Polygon): gas price in gwei, latest block, and the cost of an ETH transfer, an ERC-20/USDC transfer and a swap in native coin and USD, plus a ranking of which chain is cheapest right now.
Use gas to pick the cheapest EVM chain right now or to price a transfer/swap on Ethereum, Base, Arbitrum, Optimism or Polygon in one call. Use base-gas for Base only.
/api/token-info docs$0.0025ERC-20 token lookup on Ethereum, Base, Arbitrum, Optimism or Polygon: name, symbol, decimals, total supply (raw + human), live USD price with confidence (DefiLlama) and FDV, for up to 10 token addresses in one call.
Use token-info before displaying, converting or pricing an ERC-20 amount: decimals, symbol, supply and USD price for up to 10 tokens in one call.
/api/ens docs$0.0025ENS + Basenames resolver: name -> address (vitalik.eth, jesse.base.eth) or address -> verified primary name on Ethereum and Base (reverse record checked forward), plus optional text records (avatar, url, com.twitter, com.github, ...).
Use ens to turn vitalik.eth / name.base.eth into an address before sending, or to show a verified name for an address.
/api/tx-status docs$0.0015Transaction status for polling: up to 10 tx hashes in one call, searched across Ethereum, Base, Arbitrum, Optimism and Polygon (or one chain): pending / success / failed / not_found, block, confirmations, finalized flag, from/to, gas used, fee in native coin, explorer link.
Use tx-status to poll whether transactions are pending, confirmed, failed or finalized (up to 10 hashes, chain auto-detected). Use tx-explain for a full decode of one tx.
/api/dns docs$0.0025DNS lookup over DNS-over-HTTPS (Cloudflare, Google fallback): A, AAAA, MX, NS, TXT, CNAME, CAA, SOA, SRV, HTTPS, DS...
Use dns to read any DNS records of a domain and check its mail setup (MX, SPF, DMARC) in one call. Use email-verify to check a single address.
/api/domain-whois docs$0.005Domain registration lookup via RDAP (the official whois successor, IANA bootstrap): registered or not, registrar + IANA id + abuse email, created / updated / expiry dates, days to expiry, domain age, EPP status codes, nameservers, DNSSEC.
Use domain-whois to see who registered a domain, when it was created and when it expires (RDAP, official registry data).
/api/ssl-cert docs$0.005TLS/SSL certificate check from public Certificate Transparency logs (Cert Spotter, crt.sh fallback): currently valid certificates for a hostname, newest first, with issuer, validity dates, days left, SAN names and an expiring-within-14-days flag.
Use ssl-cert to check TLS certificate expiry and issuer for a hostname from public CT logs.
/api/geocode docs$0.0015Geocoding with OpenStreetMap Nominatim: address or place name -> coordinates (up to 5 matches, optional country filter), or lat+lon -> structured address (reverse).
Use geocode to turn an address or place into coordinates, or coordinates into an address (OpenStreetMap).
/api/feed-json docs$0.0025RSS / Atom / JSON Feed to clean JSON: give a feed URL (or a web page that links one, auto-discovered) and get feed title/link/language plus normalised items: id, title, link, ISO dates, author, plain-text summary, categories, enclosures (podcast audio, media), image.
Use feed-json to read an RSS/Atom/JSON feed (or find the feed of a site) as clean JSON items, e.g. to watch a blog, changelog, podcast or news source. Use page-rag for the full text of one article page.
/api/sitemap docs$0.003Sitemap to URL list: give a sitemap URL or just a domain (sitemaps found via robots.txt, then /sitemap.xml).
Use sitemap to list all pages a site declares (with lastmod) before crawling or to find recently changed pages. Use robots-check for crawl permission of one URL.
/api/qr-code docs$0.0015QR code generator: text, URL, payment URI (e.g.
Use qr-code to turn a URL, payment request, Wi-Fi login or any text into a scannable QR image (SVG or GIF data URI).
/api/wiki-fact$0.005Wikipedia fact lookup: best-matching Wikipedia article for a query with summary, description, URL and structured Wikidata facts (type, country, headquarters, founded, founders, CEO, website, industry, employees, ticker, population, coordinates).
Use wiki-fact to ground an entity: summary plus structured facts (founded, HQ, CEO, website).
/api/summarize$0.004Text summarizer: summarize up to 12,000 characters into 3-6 bullet points or one paragraph (max_words 20-250, optional output language).
Use summarize to condense long text into bullets or a paragraph.
/api/classify$0.005Text classification: classify text (max 6,000 chars) into your own labels (2-20, single or multi-label) with confidence and a short reason; output is always one of your labels.
Use classify to route tickets, emails or posts into your own labels.
/api/entity-extract$0.005Named entity extraction: people, organizations, locations, dates, money amounts and products from text (max 6,000 chars), plus emails and URLs by regex.
Use entity-extract for people, companies, places, dates and amounts; extract-json when you need your own schema.
/api/translate$0.005Text translation: translate up to 3,000 characters into one of 28 languages (en, da, de, fr, es, it, pt, nl, sv, no, fi, pl, ru, uk, tr, ar, hi, ja, ko, zh, id, vi, th, cs, ro, el, he, hu), source auto-detected.
Use translate for short texts into 28 languages.
/api/email-verify-quick$0.0025Email quick check: offline syntax check, disposable-domain flag (~9,900 domains), role address and free-mail flags for one email, no DNS (fastest).
Use email-verify-quick for a fast offline syntax/disposable check; email-verify adds MX; email-verify-batch for lists.
/api/email-verify-batch$0.005Email verification batch: up to 20 email addresses in one call - syntax, MX/A records via DNS-over-HTTPS, null MX, disposable, role and free-mail flags, verdict per address and a summary.
Use email-verify-batch to clean a list of up to 20 emails.
/api/geocode-batch$0.002Geocode batch: up to 5 addresses or place names (separated by |) to coordinates and a structured address in one call, optional country filter.
Use geocode-batch for up to 5 addresses at once.
/api/pack/wallet-safety$0.024FreeTier Wallet Safety Scan pack: Full safety scan of any wallet before you transact: profile and holdings, portfolio value, per-token risk scoring and a rug-pull check, combined into one verdict (low, medium or high risk).
/api/pack/website-to-rag$0.015FreeTier Website to RAG pack: Turn any web page into clean AI-ready data in one call: the page as markdown, a RAG-ready index for retrieval, and page metadata (title, description).
/api/pack/b2b-lead-finder$0.022FreeTier B2B Lead Finder pack: Find B2B leads on any company website in one call: contact emails and people from the site, a company profile, its tech stack, and quick deliverability verification of up to 3 emails found.
/api/pack/payment-verification$0.008FreeTier Payment Verification pack: Verify a blockchain transaction before you trust it: live status (confirmed, pending or failed) plus a plain-language explanation of what the transaction actually did.
/api/pack/domain-health$0.025FreeTier Domain Health Check pack: Full health check for a domain in one call: WHOIS ownership and expiry, DNS records, SSL certificate status, robots.txt rules and sitemap availability.
/api/pack/ai-tool-discovery$0.012FreeTier AI Tool Discovery pack: Discover AI-agent tooling in one call: matching MCP servers, x402 pay-per-call services and agent tools for any query.
Directories and searchable datasets
EndpointPriceWhat
/api/apis/search$0.001API search: Search 2,230 link-checked public & free-tier APIs (59 categories).
/api/free-tiers$0.001Free tiers: Current free-tier limits for developer services (hosting, DB, auth, email, CI, monitoring) and AI/LLM APIs, with official source URLs.
/api/llm-pricing$0.005LLM pricing: AI model list prices (USD per 1M input/output/cached tokens, context window, vision/tools/reasoning flags) for ~3,000 models across OpenAI, Anthropic, Google, Mistral, Groq, Bedrock, Azure, Together, Fireworks and more, plus verified free tiers/rate limits of AI APIs.
/api/mcp-servers$0.001MCP servers search: Search 4,259 MCP (Model Context Protocol) servers by keyword, category, language (python/typescript/go/rust...), scope (cloud/local) and official flag.
/api/x402-services$0.0025x402 services search: Search ~8,900 live x402 pay-per-call APIs (verified/unverified by nohumans.directory probes, CC BY 4.0): name, endpoint URL, category, price, chains, status, score.
/api/agent-tools$0.001Agent tools search: One search across ~13,000 agent tools: 4,259 MCP servers (awesome-mcp-servers, MIT) and ~8,900 x402 pay-per-call APIs (nohumans.directory, CC BY 4.0).
Full dataset downloads
EndpointPriceWhat
/api/dataset/full$1Buy the full Verified API Directory dataset (2,230 rows, JSON, CC BY 4.0 + MIT sources) in one call.
/api/dump/mcp-servers$1Full MCP server directory dump (4,259 servers, JSON).
/api/dump/llm-pricing$1Full dump: list prices of ~3,000 AI models (LiteLLM table, MIT) + verified AI/dev free tiers with limits (JSON).
/api/dump/world-reference$1Full dump: 252 countries (GeoNames, CC BY 4.0), 418 time zones, ~14,000 public holidays 2026-2027 (python-holidays, MIT).
/api/dump/x402-services$1Full dump: ~8,900 x402 pay-per-call APIs with category, price, chains and probe status (JSON).
/api/dump/agent-tools$1Full dump: Agent Tool Directory, ~13,000 MCP servers + x402 APIs in one unified schema (JSON).

Prefer a card? The same datasets are sold as downloads at FreeTier Kits.

Setup recipes

Copy-paste setup with payment options and example prompts: Claude Desktop · Claude Code · Cursor · Node/Python x402 client

For agents and tools

Terms

Data is provided as is, for information. Each response names its sources and their licenses. Payments are final once settled; requests that fail are not settled. Inputs (documents, text, emails) are processed in memory and not stored. token-risk is not financial advice. Contact: tec@mail.grokbot.com.


Agent Extraction API by FreeTier Kits · Terms · llms.txt · /.well-known/x402 · MCP: https://freetier-agent-api.pages.dev/mcp · Contact: tec@mail.grokbot.com
This site and its texts were written with AI assistance and reviewed for accuracy; example outputs are real responses from the API.