← Back to xrplme.online

API Docs — Country Agents

Test any country agent endpoint. All calls are pay-per-query in XRP via x402. No API keys, no KYC.

How x402 payment works

Each endpoint returns 402 Payment Required. Pay the invoice in XRP via Xaman or Joey wallet, then retry the request to receive data.
1
Send query — POST your query to the endpoint. You get a 402 response with payment instructions.
2
Scan QR — Open the QR code in Xaman or Joey wallet. Pay the invoice (0.1 or 0.5 XRP).
3
Retry — After payment, click "Retry after payment" to re-send the same query. The endpoint returns your data.

Endpoint tester

Select a country and endpoint type, type your query, and pay in XRP to get results.
0.1 XRP
Standard API - Factual Data, Fast
0.5 XRP
AI Enhanced API - Smart Analysis of Factual Data
POST https://xrplme.online/wc/v1/hong_kong/bot
Click "Send Query" to start.

Example queries

Same request format for both endpoints. Paste these into the tester above.

Standard API example (0.1 XRP)

"What are Thailand business registration requirements?" — Returns scraped government data from Thai government sources. Fast, factual, 0.1 XRP.

AI Enhanced API example (0.5 XRP)

"Compare Thailand vs Vietnam for tech startup - which is better and why?" — AI Enhanced API analyzes scraped data from both countries, provides comparison reasoning, and gives a recommendation. 0.5 XRP.

Request format

Both endpoints accept the same JSON body.
POST https://xrplme.online/wc/v1/{country}/{endpoint} Content-Type: application/json { "message": "Your query here", "session_id": "your-session-id-123" }

Country codes: 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. Endpoints: /bot (0.1 XRP) or /bot/ai (0.5 XRP).

cURL examples

Copy and paste to test from your terminal. Works for humans AND AI agents.

Standard API — 0.1 XRP

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":"my-session-01"}'

AI Enhanced API — 0.5 XRP

curl -X POST https://xrplme.online/wc/v1/thailand/bot/ai \ -H "Content-Type: application/json" \ -d '{"message":"Compare Thailand vs Vietnam for tech startup - which is better and why?","session_id":"my-session-02"}'