81trust / 100
Databases Countries
by AgentTools in Developer tools
x402 APIPassing, checked 5 min ago
Reference database of all 250 countries and territories: ISO 3166-1 codes, capitals, regions, population, area, currencies, languages, TLDs and calling codes. Look up a single country or list by region. Use this when an agent needs to 250 countries: codes, capitals, currencies, populations.
GET https://agenttools-hub.vercel.app/api/v1/databases/countries
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 144 ms typical, 144 ms slowest 5%
- Last check
- 5 min ago
- Next check
- in 26 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://agenttools-hub.vercel.app/api/v1/databases/countries?country=Germany"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagenttools-hub.vercel.app%2Fapi%2Fv1%2Fdatabases%2Fcountries
const res = await pay("https://agenttools-hub.vercel.app/api/v1/databases/countries?country=Germany");
console.log(await res.json());Example input
{
"country": "Germany"
}Example output
{
"result": {
"answer": "🇩🇪 Germany (DE)",
"answerLabel": "Country profile",
"details": [
{
"label": "Capital",
"value": "Berlin"
},
{
"label": "Region",
"value": "Europe — Western Europe"
},
{
"label": "Population",
"value": "83,491,249"
},
{
"label": "Area",
"value": "357,114 km²"
},
{
"label": "Currency",
"value": "EUR (Euro)"
},
{
"label": "Languages",
"value": "German"
},
{
"label": "Internet TLD",
"value": ".de"
},
{
"label": "Calling code",
"value": "+49"
}
],
"table": {
"columns": [
"Field",
"Value"
],
"rows": [
[
"ISO code",
"DE"
],
[
"Capital",
"Berlin"
],
[
"Region",
"Europe — Western Europe"
],
[
"Population",
83491249
],
[
"Area (km²)",
357114
],
[
"Currency",
"EUR (Euro)"
],
[
"Languages",
"German"
],
[
"Calling code",
"+49"
],
[
"TLD",
".de"
]
]
},
"value": null
},
"tool": "countries"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 5 min ago | Passed | 402 | 144 ms | $0.003 |
| 5 h ago | Passed | 402 | 223 ms | $0.003 |