Start Free
SEO API · Keyword Metrics by Country

Keyword Metrics by Country

Localized metrics for up to 1000 keywords in one country.

Send a list of keywords and a country and get back each keyword's search volume, CPC range, competition, difficulty, intent and 12-month trend for that specific market. The language is derived from the country automatically.

POST /api/v1/keywords/country $0.01 / request + $0.0001 / keyword
Get API Key

Use your Seonio API key instantly.

curl
curl -X POST https://seonio.com/api/v1/keywords/country \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $SEONIO_API_KEY" \
  -d '{"country": "de", "keywords": ["seo tools", "keyword research"]}'

Sample response

{
  "country": "de",
  "keywords": [
    {
      "competition": 58,
      "cpc": 640,
      "difficulty": 61,
      "high_cpc": 1120,
      "intent": "commercial",
      "low_cpc": 280,
      "monthly_trend": [
        {
          "month": "2026-05",
          "value": 8100
        },
        {
          "month": "2026-04",
          "value": 6600
        },
        {
          "month": "2026-03",
          "value": 6600
        }
      ],
      "text": "seo tools",
      "volume": 8100
    },
    {
      "competition": 52,
      "cpc": 590,
      "difficulty": 57,
      "high_cpc": 990,
      "intent": "informational",
      "low_cpc": 240,
      "monthly_trend": [
        {
          "month": "2026-05",
          "value": 5400
        },
        {
          "month": "2026-04",
          "value": 4400
        },
        {
          "month": "2026-03",
          "value": 4400
        }
      ],
      "text": "keyword research",
      "volume": 5400
    }
  ]
}
 

Request and response

The full contract for /api/v1/keywords/country — what to send and what comes back.

Request body

keywords string[] required

1–1000 keywords to look up in the given country. Billed per request plus per submitted keyword.

country string optional

Two-letter ISO country code (default "us"). The language is derived from it.

Response fields

country string

The country the metrics were resolved for.

Supported countries
in India
vn Vietnam
us United States
gb United Kingdom
de Germany
pk Pakistan
bd Bangladesh
ca Canada
tr Turkiye
id Indonesia
fr France
es Spain
nl Netherlands
it Italy
au Australia
ae United Arab Emirates
ph Philippines
ch Switzerland
jp Japan
ng Nigeria
eg Egypt
th Thailand
za South Africa
mx Mexico
sg Singapore
ke Kenya
at Austria
ma Morocco
pl Poland
dk Denmark
my Malaysia
sa Saudi Arabia
lk Sri Lanka
ro Romania
gh Ghana
fi Finland
se Sweden
be Belgium
br Brazil
ie Ireland
bg Bulgaria
gr Greece
nz New Zealand
rs Serbia
dz Algeria
no Norway
hu Hungary
ar Argentina
pt Portugal
cz Czechia
keywords[].text string

The keyword. Keywords with no data are omitted.

keywords[].volume integer

Average monthly search volume in the country.

keywords[].cpc integer

Cost-per-click indicator.

keywords[].low_cpc integer

Low top-of-page bid indicator.

keywords[].high_cpc integer

High top-of-page bid indicator.

keywords[].competition integer

Competition score (0–100).

keywords[].difficulty integer

Keyword difficulty (0–100).

keywords[].intent string

Dominant search intent for the keyword.

keywords[].monthly_trend object[]

Monthly trend points, newest to oldest, each as { month: YYYY-MM, value }.

 

Code examples

Copy, paste, swap in your API key.

curl -X POST https://seonio.com/api/v1/keywords/country \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"country": "de", "keywords": ["seo tools", "keyword research"]}'
 

Playground

Run a real /api/v1/keywords/country request. No key? We show the real sample result so you can still inspect the shape.

Leave the API key empty to load the built-in sample response.

Request

POST /api/v1/keywords/country

sample mode

        
 

What developers build with it

Common ways Keyword Metrics by Country ends up in production.

Localizing keyword research to a specific market.

Comparing demand for the same keywords across countries.

Bulk-checking volume and difficulty before targeting a region.

 

Status codes

The same predictable contract on every endpoint.

200 Success. The lookup completed and was charged, even if the response is empty.
401 Missing or unknown API key.
402 Not enough balance on the account.
422 Invalid request body (wrong shape or types).
429 Rate limit exceeded (fixed-window default: 30 requests / 3 seconds).
 

Other endpoints

Explore the rest of the SEO API.

 

API Balance

Add funds once and use them anytime. Your balance never expires. New accounts start with $1 free.

Starter

$10 to spend

$ 10 one-time

 
Balance never expires.

A first top-up to kick the tires.

Most popular

Pro

$115 to spend

$ 100 one-time

+15% bonus
$100 + $15 free

The sweet spot for steady production traffic.

Scale

$1,300 to spend

$ 1,000 one-time

+30% bonus
$1,000 + $300 free

Best rate per dollar for high-volume workloads.

 

FAQ

Simple answers for developers using the API.

Pricing & Balance

Every API endpoint has a fixed price in USD. Your requests are charged directly against your API balance, so you always know what each call costs.
No. Seonio does not use abstract credits for API pricing. You add dollars to your account and spend that balance directly on API usage.
No. Your API balance never expires, so you can use it whenever your workflows need it.
Paid API requests stop until you add more balance. This keeps spend predictable and prevents unexpected charges.

API & Integration

You can create and manage API keys from your account. Use your key to authenticate requests from your app, scripts, or internal tools.
Yes. Your dashboard shows your API usage and remaining balance, so you can track costs while building and running automated workflows.
We currently cover 50 markets. We add new countries regularly.
Algeria Argentina Australia Austria Bangladesh Belgium Brazil Bulgaria Canada Czechia Denmark Egypt Finland France Germany Ghana Greece Hungary India Indonesia Ireland Italy Japan Kenya Malaysia Mexico Morocco Netherlands New Zealand Nigeria Norway Pakistan Philippines Poland Portugal Romania Saudi Arabia Serbia Singapore South Africa Spain Sri Lanka Sweden Switzerland Thailand Turkiye United Arab Emirates United Kingdom United States Vietnam
Our support team responds to email inquiries within 1 business day. We can help with account, billing, and API integration questions.
We enforce a global rate limit per API-Key of 10 requests per second across all endpoints to ensure system stability. If you exceed this, our servers will return an HTTP 429 Too Many Requests status code. To handle this seamlessly in production, we recommend building rate-limiting logic or an exponential backoff (briefly pausing before retrying) directly into your application code.
 
blurry shape
shape line circles

Start Researching for Free

$1 free balance included • No credit card required • Access all features