PeumeAPI

Companies

Search countries by name

Searches countries by name — returns up to 100 countries per page

$0.0005 per callUsually answers in about a second

Call it

curl https://api.peume.com/v1/call/search-countries-by-name \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "query": "United States"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: search-countries-by-name.

Parameters

querystring

country name. WHOLE WORDS ONLY: 'United States' and 'Ireland' match, but the prefix 'germ' returns zero items. Omit it to page through every country

Example: United States

pageinteger

1-based page number

Other ways to do it

Same job, other sources, cheapest first.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.