Country Lookup

Country Lookup API

GeographyIncluded in Subscription

Country Lookup is a simple tool for looking up country data. It returns the country name, capital, and more.

Online
10 credit/call
99.9% uptime
Docs
avg: 1803ms|p50: 1641ms|p75: 1911ms|p90: 2236ms|p99: 2885ms
Online
10 credit/call
99.9% uptime
Docs
avg: 1803ms|p50: 1641ms|p90: 2236ms|p99: 2885ms

Live Test API

Try out the Country Lookup with a live request and see the response in real-time.

API Request

GET
https://api.apiverve.com
Parameters

API Response

200 OK
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
{ "status": "ok", "error": null, "data": { "search": "USA", "countries": [ { "name": { "common": "United States", "official": "United States of America", "native": { "eng": { "official": "United States of America", "common": "United States" } } }, "tld": [ ".us" ], "cca2": "US", "ccn3": "840", "cca3": "USA", "cioc": "USA", "independent": true, "status": "officially-assigned", "capital": [ "Washington D.C." ], "altSpellings": [ "US", "USA", "United States of America" ], "region": "Americas", "subregion": "North America", "languages": { "eng": "English" }, "latlng": [ 38, -97 ], "landlocked": false, "flag": "🇺🇸" } ] } }

Multiple Access Methods

REST API with multiple response formats, GraphQL, and MCP for AI agents

View all integrations

JSON

JavaScript Object Notation

XML

Extensible Markup Language

YAML

Human-readable data format

CSV

Comma-separated values

BETA

GraphQL

Query language for APIs

NEW

MCP

AI agent integration

Zero-Code Integration

Embed This API

Add interactive API forms to your website with a simple iframe embed

Live Preview

Demo Mode
Developer SDKs

Skip the HTTP calls. Use our official packages

Integrate faster with type-safe SDKs and comprehensive documentation

View all integrations

NuGet

.NET / C#
Ready

PyPI

Python
Ready

NPM

Node.js / JavaScript
Ready
Need a different language?Our REST API works with any programming language. Examples available for PHP, Ruby, Go, and more.
View All Examples

Related APIs

Explore other geography APIs that complement the Country Lookup

Frequently Asked Questions

Get answers to common questions about the Country Lookup API

What does the Country Lookup API do?

Country Lookup is a simple tool for looking up country data. It returns the country name, capital, and more. The API returns structured data in JSON, XML, or YAML format, making it easy to integrate into any application or workflow.

How fast is the Country Lookup API?

The Country Lookup API has an average response time of 1803ms, with a median (p50) of 1641ms and 99th percentile of 2885ms. Our infrastructure maintains 99.9% uptime with servers distributed globally for low latency.

How much does the Country Lookup API cost?

Each call to the Country Lookup API uses 10 credits. The free tier includes 100 credits per month. Paid plans start at $29.99/month with higher limits, and enterprise plans offer custom pricing with priority support.

How do I authenticate Country Lookup API requests?

Include your API key in the request header as X-API-Key: your_key_here. All requests are made over HTTPS for security. You can get your API key by signing up for a free account.

What HTTP methods does Country Lookup support?

The Country Lookup API supports GET requests. Simply pass your parameters as query strings in the URL. Check our documentation for detailed parameter specifications.

Ready to integrate Country Lookup API?

Join thousands of developers building amazing applications with reliable API data. Get started with your free API key today.

100 free credits/month
No setup fees
24/7 support