x402-powered AI agent data API — 24 countries of economic data on XRPL
x402-powered AI agent data API — 24 countries of economic data on XRPL
·
xrplme.online is a source-backed platform providing real-time economic and policy data for 24 countries via x402 payment over the XRP Ledger. Each country exposes two endpoints — a Standard API and an AI-Enhanced API — that return structured data scraped from government sources.
AI agents query the platform by submitting an x402 payment (HTTP 402 → pay in XRP → retry for data). No API keys, no KYC, no subscriptions.
Thailand, Vietnam, Japan, Korea, India, USA, Canada, UAE, UK, Philippines, Singapore, Australia, Germany, France, Brazil, Mexico, Switzerland, Netherlands, Hong Kong, Malaysia, Indonesia, Taiwan, Macau, New Zealand
| Endpoint | Price | Description |
|---|---|---|
POST /wc/v1/{country}/bot | 0.1 XRP | Standard API — factual data from government sources |
POST /wc/v1/{country}/bot/ai | 0.5 XRP | AI Enhanced API — analyzed data, comparison, recommendations |
POST /wc/v1/{country}/health | FREE | Health check — returns 200 with service status |
import requests
import json
BASE = "https://xrplme.online/wc/v1"
COUNTRY = "thailand" # or any of the 24 countries
ENDPOINT = "bot" # or "bot/ai" for AI-enhanced (0.5 XRP)
QUERY = "What are Thailand's business registration requirements?"
def query_xrplme(query, country=COUNTRY, endpoint=ENDPOINT):
url = f"{BASE}/{country}/{endpoint}"
payload = {
"message": query,
"session_id": "agent-session-001"
}
resp = requests.post(url, json=payload, timeout=15)
if resp.status_code == 402:
data = resp.json()
payment = data["accepts"][0]
print(f"Payment required: {payment['amount']} drops")
print(f"Pay to: {payment['payTo']}")
print(f"Invoice ID: {payment['extra']['invoiceId']}")
print("Pay via Xaman/Joey wallet, then call this function again.")
return
if resp.status_code == 200:
data = resp.json()
print(f"Response: {json.dumps(data, indent=2)}")
return data
print(f"Error {resp.status_code}: {resp.text}")
return None
# Example
query_xrplme("What are the VAT rates in Thailand?")async function queryXRPLME(query, country = "thailand", endpoint = "bot") {
const url = `https://xrplme.online/wc/v1/${country}/${endpoint}`;
const response = await fetch(url, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
message: query,
session_id: "web-session-001"
})
});
if (response.status === 402) {
const data = await response.json();
const payment = data.accepts[0];
console.log("Payment required:", payment.amount / 1000000, "XRP");
console.log("Pay to:", payment.payTo);
console.log("Invoice ID:", payment.extra.invoiceId);
// Redirect user to wallet for payment, then retry
return;
}
if (response.status === 200) {
const data = await response.json();
console.log("Data:", data);
return data;
}
}
// Example
queryXRPLME("Compare Thailand vs Vietnam for tech startup");# Step 1: Send query (get 402 with payment details)
curl -X POST https://xrplme.online/wc/v1/thailand/bot \
-H "Content-Type: application/json" \
-d '{"message":"What are Thailand business registration requirements?","session_id":"agent-001"}'
# Step 2: Pay the XRP invoice (via Xaman/Joey wallet)
# Step 3: Resend the same query to get data
curl -X POST https://xrplme.online/wc/v1/thailand/bot \
-H "Content-Type: application/json" \
-d '{"message":"What are Thailand business registration requirements?","session_id":"agent-001"}'curl https://xrplme.online/wc/v1/thailand/health| Endpoint | Price | Use Case |
|---|---|---|
/bot | 0.1 XRP | Factual data — scraped government sources, fast |
/bot/ai | 0.5 XRP | AI-enhanced — analysis, comparison, recommendations |
/health | FREE | Service status check |
Full interactive API documentation is available at: https://xrplme.online/api-docs.html
thailand, vietnam, japan, korea, india, usa, canada, uae, uk, philippines, singapore, australia, germany, france, brazil, mexico, switzerland, netherlands, hong_kong, malaysia, indonesia, taiwan, macau, newzealand
MIT
This repo does not document an install step we could read. Check the README on GitHub.
Paste this prompt into your agent. It reads this page and does the setup for you.
Read https://aiagentslisting.com/mcp/xrplme-example to learn what the "Xrplme Example" MCP server does and how to install it. Add it to my coding agent's MCP configuration as documented on that page, then confirm the server connects and list the tools it exposes.Agents can also browse this directory over MCP at https://aiagentslisting.com/api/mcp
This server doesn't publish a machine-readable tool manifest, and it doesn't expose a public endpoint we could ask. Connect the server locally to see what it exposes.
We could not run this server: it ships no npx package for our sandbox and no public endpoint. The four checks that need a live server are left out, and the grade tops out at B until one exists.
Paste this line near the top of your repository's README. The badge always renders the current score.
[](https://aiagentslisting.com/mcp/xrplme-example)WebScore is a free website scanner & checker — scan any site for SEO, performance, security and acce
The Docker Hub MCP Server is a Model Context Protocol (MCP) server that interfaces with Docker Hub A
MCP-сервер WebAsk и 25 навыков: опросы, ответы и отчёты из Claude, Cursor, VS Code, Codex и Gemini
No tagged releases on record.
Connect to the AI Agents Listing MCP server at https://aiagentslisting.com/api/mcp using the HTTP transport and complete the sign-in when it asks. Then call the submit_review tool for the listing "xrplme-example" with a rating from 1 to 5 and a short note on what worked and what did not.No reviews yet
Be the first to share your experience with this tool.
WebScore is a free website scanner & checker — scan any site for SEO, performance, security and acce
AI & ML Services
The Docker Hub MCP Server is a Model Context Protocol (MCP) server that interfaces with Docker Hub A
Developer Tools
MCP-сервер WebAsk и 25 навыков: опросы, ответы и отчёты из Claude, Cursor, VS Code, Codex и Gemini
Developer Tools
One email a week. New agents, MCP servers and skills, and what is actually getting traction.