130 countries of source-backed economic, policy and regulatory data for AI agents. Pay per query in XRP or USDC on the XRP Ledger, Solana or Base. No API keys. No subscriptions. No sign-up.
402 with the price
and receiving address, pay that amount, retry the same call with the payment proof, get your
data. One payment buys one call.
# Country Brief — 1 XRP (XRPL) POST https://xrplme.online/wc/v1/thailand/bot Content-Type: application/json {"message": "Tourism numbers for Thailand Q2 2025", "session_id": "demo-001"} # Same data, USDC on Solana POST https://xrplme.online/wc/v1/thailand/bot-solana # Same data, USDC on Base POST https://xrplme.online/wc/v1/thailand/bot-evm
{
"x402Version": 2,
"resource": { "url": "https://xrplme.online/wc/v1/thailand/bot", ... },
"accepts": [{
"scheme": "exact",
"network": "xrpl:0",
"amount": "1000000", // drops = 1 XRP
"asset": "XRP",
"payTo": "razjTyzT6gBVH86iduU8HuEiZ2YUorNQj8",
"extra": { "sourceTag": 804681468, "invoiceId": "7BEE..." }
}]
}
Pay in XRP via Xaman
or Joey, or sign programmatically with the xrpl SDK.
Pay USDC via any Solana Pay wallet, or any Base wallet. Then retry the identical request with
the payment proof attached.
# XRPL — signed transaction hash + the invoice id from the 402 X-PAYMENT-SIGNATURE: <tx_hash> X-INVOICE-ID: <invoice_hash> # Solana — base64 payment payload x_sol_payload: <base64_payment_payload> # Base — the transaction hash of your own USDC transfer PAYMENT-SIGNATURE: {"txHash":"0x..."}
Same country data, same three tiers, same request body and response shape as XRPL and Solana — payable in USDC on Base.
POST https://xrplme.online/wc/v1/{country}/bot-evm $1.00 USDC
POST https://xrplme.online/wc/v1/{country}/bot-evm/ai $7.00 USDC
POST https://xrplme.online/wc/v1/{country}/bot-evm/custom $15.00 USDC
HTTP/1.1 402 Payment Required
{
"x402Version": 2,
"accepts": [{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000000",
"payTo": "0xa9FA5f8b14A8f683Ca634f34f0d3f5688417438c",
"extra": { "settlement": "onchain-transfer", "decimals": 6 }
}]
}
payTo address.curl -X POST https://xrplme.online/wc/v1/thailand/bot-evm \
-H "Content-Type: application/json" \
-H 'PAYMENT-SIGNATURE: {"txHash":"0x..."}' \
-d '{"message":"recent policy changes"}'
A 200 returns the records.
One transfer buys one call: a reused hash returns 409, a transfer below the tier
price or older than one hour is rejected with 402, and a payment on another chain
or to another address is not accepted. The transfer is verified directly against Base —
nothing sits between your payment and the data.
A Base Sepolia twin runs the identical verification:
POST /wc/v1/{country}/bot-evm-test[/ai|/custom] on eip155:84532,
same prices in test USDC. It verifies the payment and returns a receipt, and does not serve
records — paid data is only served on the production rails.
| Endpoint | XRPL | Solana | Base | What you get |
|---|---|---|---|---|
GET /wc/v1/{country}/health | FREE | FREE | FREE | Availability, record count, last refresh |
POST /wc/v1/{c}/bot | 1 XRP | — | — | Country Brief — source-backed records |
POST /wc/v1/{c}/bot/ai | 5 XRP | — | — | Deep Concierge — AI-parsed answer |
POST /wc/v1/{c}/bot-solana | — | 1 USDC | — | Country Brief |
POST /wc/v1/{c}/bot-solana/ai | — | 7 USDC | — | Deep Concierge |
POST /wc/v1/{c}/bot-evm | — | — | 1 USDC | Country Brief |
POST /wc/v1/{c}/bot-evm/ai | — | — | 7 USDC | Deep Concierge |
POST /wc/v1/{c}/bot-evm/custom | — | — | 15 USDC | Custom Bounded — scoped research |
POST /mcp | x402 per tool call | MCP protocol for AI agents | ||
Each rail also has /custom at 15 XRP / $15.00 USDC.
Slugs are long names: thailand, hong_kong, papua-new-guinea.
All 130 are listed on the countries page.
# Country Brief — 1 XRP / $1.00 USDC "What are Thailand business registration requirements?" # Deep Concierge — 5 XRP / $7.00 USDC "Compare data residency rules across Vietnam, Singapore and Indonesia" # Custom Bounded — 15 XRP / $15.00 USDC "Full regulatory posture for entering the Japanese payments market"
{
"message": "your question in plain English",
"session_id": "any string you choose"
}
Both fields are strings. session_id is
for your own correlation — the server echoes nothing personal and stores no identity.
# Free health check curl https://xrplme.online/wc/v1/thailand/health # See the 402 challenge (XRPL) curl -X POST https://xrplme.online/wc/v1/thailand/bot \ -H "Content-Type: application/json" \ -d '{"message":"recent policy changes"}' # Pay on Base with your transaction hash curl -X POST https://xrplme.online/wc/v1/thailand/bot-evm \ -H "Content-Type: application/json" \ -H 'PAYMENT-SIGNATURE: {"txHash":"0x..."}' \ -d '{"message":"recent policy changes"}'
11 tools. Six are free (discovery, health, pricing, survey); five are paid per query over x402.
| Tool | Returns | Access | Price |
|---|---|---|---|
xrplme_list_countries | All 130 countries with slug, name, live status | Free | — |
xrplme_get_country_status | Health probe: records and last refresh | Free | — |
xrplme_get_pricing | Pricing on all three rails | Free | — |
xrplme_get_country_data | Source-backed economic, policy, regulatory data | Paid | 1 XRP / $1.00 |
xrplme_get_country_schema | Structured record plus freshness | Paid | 1 XRP / $1.00 |
xrplme_screen | Sanctions screening for a person or company | Paid | $2.00 |
xrplme_entity_lookup | Company look-up and permanent entity ID | Paid | $1.00 |
xrplme_entity_ownership | Ownership chain to the ultimate parent | Paid | $5.00 |
xrplme_get_survey_questions | Survey questions for agents | Free | — |
xrplme_submit_survey | Submit agent feedback | Free | — |
xrplme_get_survey_stats | Aggregated survey statistics | Free | — |
POST https://api.xrplme.online/mcp
Content-Type: application/json
Accept: application/json, text/event-stream
{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2025-06-18",
"capabilities": {},
"clientInfo": { "name": "agent", "version": "1.0" }
}
}
# Python (mcp SDK) from mcp import ClientSession from mcp.client.streamable_http import streamablehttp_client async with streamablehttp_client("https://api.xrplme.online/mcp") as (read, write, _): async with ClientSession(read, write) as session: await session.initialize() result = await session.call_tool("xrplme_list_countries", {}) print(result) # Node.js (@modelcontextprotocol/sdk) import { Client } from "@modelcontextprotocol/sdk/client/index.js"; import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"; const transport = new StreamableHTTPClientTransport( new URL("https://api.xrplme.online/mcp") ); const client = new Client({ name: "my-agent", version: "1.0.0" }); await client.connect(transport); const result = await client.callTool({ name: "xrplme_list_countries", arguments: {} }); console.log(result);
Two more datasets on the same rails. Check a person or company against official watchlists before you deal with them. Look up a company and walk its ownership to the ultimate parent. Pay per call, no signup, no key.
| Dataset | Price | Endpoints |
|---|---|---|
| Screening | $2.00 / check | /wc/screen/bot · -solana · -evm |
| Company look-up | $1.00 / lookup | /wc/entity/lookup/bot · -solana · -evm |
| Ownership tree | $5.00 / tree | /wc/entity/ownership/bot · -solana · -evm |
curl -X POST https://xrplme.online/wc/screen/bot-evm \
-H "Content-Type: application/json" \
-d '{"name":"Smith Holdings Ltd"}'
More detail on the Investigate page.
The rails accept XRP on the XRP Ledger, or USDC on Solana or Base. If you hold none, buy USDC with a debit or credit card at Crossmint — Apple Pay and Google Pay work — using your own wallet as the destination, then pay the endpoint from that wallet.
Every paid call on the Solana and Base rails returns a signed receipt: it
proves these exact bytes came from xrplme.online, for that payment, from that dataset build. Read it at
/proof/{receipt_id} — the id is in the X-Receipt-Id response header —
and check the signature against the public key at /proof/pubkey. No account, no API key.
Each day’s receipts are fingerprinted at
/proof/daily/{date} and chained to the day before, so history cannot be quietly rewritten.
All paid API responses follow the v1 JSON schema at schema/v1/response-schema.json.
meta — country_slug, query_id, retrieved_at, schema_version, payment (rail + TXID + amount + invoice_id), data_freshnesssources[] — primary source URLs with publisher, published date, confidence scorefacts — structured by domain (company_formation, labor, tax, crypto_regulation, trade)synthesis — summary, key_risks, comparison_hooks, confidence_overall, contradictions_foundagent_hints — recommended_followup_tools, related_countries, update_frequency_days{
"meta": {
"country_slug": "thailand",
"query_id": "q_thailand_...",
"retrieved_at": "2026-11-22T12:00:00Z",
"payment": {"rail": "xrpl", "txid": "E5A...", "amount": "1 XRP", "invoice_id": "..."},
"schema_version": "1.0.0"
},
"sources": [...],
"facts": {...},
"synthesis": {...},
"agent_hints": {...}
}