Skip to content
API & MCP

Keyword search,for code and AI

  • Same data as the extension
  • 1 credit per term
  • REST + MCP
Connect with
Sample numbers
Request
POST/api/public/v1/search-volume
keywords
["matcha","cold brew"]
country
"us"
currency
"usd"
1 credit
  • matchaCPC $0.92
    450Ksearches / mo
  • cold brewCPC $1.10
    90.5Ksearches / mo

01 / TWO WAYS IN

Pick one

Both use the same key and the same credits.

REST API

Scripts & backends

Best forCron jobs, dashboards, bulk keyword lists

  • Up to 100 terms per call
  • Plain JSON, curl works
POST/api/public/v1/search-volume
{"keywords":["matcha","cold brew"],"country":"us","currency":"usd"}
See the REST example

MCP

AI assistants

Best forClaude and other MCP clients

  • Paste one config
  • get_usage · get_search_volume

Find drinks with 100K+ monthly searches and CPC under $1. Which one is rising fastest?

Get the MCP config

One key, one credit balance. Use either, or both.

Get access

02 / QUICK START

Three steps

  1. 1

    Get access

    A plan or a credit pack.

    See plans
  2. 2

    Create a key

    Account → API & MCP.

    Open account
  3. 3

    Call it

    Check your balance first.

    Jump to the code
REST API

Check your balance

usagebash
curl "https://trendloomy.com/api/public/v1/usage" \
  -H "Authorization: Bearer YOUR_API_KEY"

Search volume

search-volumebash
curl -X POST "https://trendloomy.com/api/public/v1/search-volume" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"keywords":["matcha","cold brew"],"country":"us","currency":"usd"}'
MCP

MCP config

mcp.jsonjson
{
  "mcpServers": {
    "trendloomy": {
      "url": "https://trendloomy.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Then just ask

Find drinks with 100K+ monthly searches and CPC under $1. Which one is rising fastest?

Replace YOUR_API_KEY with your key.

Open API & MCP

03 / REFERENCE

Two endpoints

Header: Authorization: Bearer YOUR_API_KEY

GET/api/public/v1/usage

Balance

Credits left and limits. Free.

POST/api/public/v1/search-volume

Search volume

Volume, CPC, competition and trend for each term.

keywords
1–100 terms
country
e.g. us
currency
e.g. usd
Idempotency-Key
header, unique per call

Response

200 OKjson
{
  "request_id": "9f2c1a7e",
  "charged_credits": 1,
  "success": true,
  "results": [
    {
      "keyword": "matcha",
      "volume": 450000,
      "cpc_currency": "USD",
      "average_cpc": "0.92",
      "competition": 0.41,
      "trend": [{ "month": "Oct", "year": 2026, "value": 430000 }]
    }
  ],
  "errors": [
    { "provider": "volume", "keywords": ["cold brew"], "error": "no_data" }
  ]
}
  • charged_creditsCredits actually spent
  • resultsTerms that returned data
  • errorsNo data, not charged

No-data terms land in errors and are not charged.

04 / LIMITS

Per account, not per key

requests / minute
60
searches at once
2
Key 1Key 2Key 3
One shared limit

How billing works

  • Balance checks are free.
  • Pay only for terms that return data.
  • Revoke a key any time.

ACCESS

Needs a plan or credit pack

Signup credits alone do not unlock it.

See plans

Make your first call