All articles
API & MCP

Getting started with the API

Use JustRanks data in your own tools: create an API key under Connect with AI, send it as a Bearer token, and read your products, keywords, competitors, research and signals as JSON.

The JustRanks API gives you the same data and the same numbers as the app: your tracked products with their keywords, competitors, market and listing, your research, your signals, and the search results and search volume of any keyword. It is included in All Access and in the free trial.

The same tools are available to AI assistants through MCP. If you only want to ask Claude, ChatGPT or another assistant, you don't need a key: see Connect AI assistants with MCP.

Create an API key

Open Connect with AI in the sidebar, go to API keys, give the key a name (for example "Reporting script") and create it. The key is shown once. Copy it and store it like a password. Keys belong to your organization, not to a person, and only the owner can create or revoke them. Revoking a key stops it within a minute.

Your first request

Every request goes to https://www.justranks.com/api/v1 and sends the key in the Authorization header. Use the www address: the address without www redirects, and many tools drop the key on a redirect.

curl -H "Authorization: Bearer jr_live_…" \
  "https://www.justranks.com/api/v1/products"

The answer is JSON. Successful answers have a data object and often a meta object (period, marketplace, notes). Prices are in the currency of the marketplace (currency), ratings in stars (4.6), shares in percent from 0 to 100, dates in YYYY-MM-DD. The ids in the answers (id of a product, id of a research, keyword_id) are what the other endpoints expect.

Reading and changing

Most endpoints only read. A few change your account, exactly like the same buttons in the app:

  • Adding keywords or competitors to a product, resuming a paused product and tracking a research as a product add to your daily tracking. Each active product uses one of your product slots; tracking or resuming needs a free slot and never changes your bill. Slots are bought in the app only (Billing), never through the API.
  • Starting a research or an analysis counts against your monthly allowance, shared with the app.
  • Removing keywords or competitors stops their tracking; their history stays.

There is no endpoint that deletes a product.

Limits

Keywords of your own products are unlimited. For other keywords (search results and search volume) there is a daily allowance, so the API stays fast and affordable for everyone. Asking for the same keyword again on the same day does not count twice, and keywords JustRanks has no data for do not count.

All AccessTrial
Keywords of your productsunlimitedunlimited
Other keywords per day50050
Requests per day (API and MCP)5,000500
Product slotsas purchased in the app (1 included)1
Research runs50 a month, +1 for each extra product slot3
Keyword analyses250 a month, +10 for each extra product slot10
Runs at the same time / started per hour3 / 103 / 10
New products per 24 hours2020
Heavy requests per minute6060
Other requests per minute120120
Changes per minute3030

Research runs, analyses and new products use the same allowance as the app: the app, the API and your assistants count together. The month follows your billing date, and a run that fails doesn't count. Writing (changes) doesn't count toward the requests per day. The daily allowances reset at 00:00 UTC. Heavy requests (anything that calculates numbers: products, keywords, competitors, market, search results, search volume) run one after another per account: send the next request when the previous one has answered. GET /api/v1/usage shows what you have used and your current limits, including your products and what they cost a month; the same numbers appear under Connect with AI → API keys in the app.

Product limits are the same as in the app: up to 200 keywords and 10 competitors per product.

Headers

Every answer carries the per-minute limit in X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset. Answers that use the daily allowance add X-Quota-Keywords-Limit, X-Quota-Keywords-Remaining and X-Quota-Reset.

Errors

Errors have a fixed shape with a code you can check in your code and a message you can show:

{ "error": { "code": "trial_limit_reached", "message": "Your trial includes 50 keywords per day outside your tracked products. …", "upgrade_url": "…" } }
StatusCodeMeaning
400invalid_request, invalid_marketplace, invalid_asinA parameter is missing or wrong.
400too_many_keywords, too_many_competitorsMore than a product or request allows; max names the limit.
400keyword_not_in_researchTracking a research: a keyword you chose is not in its result.
401missing_api_key, invalid_api_keyNo key sent, or the key was revoked.
402subscription_requiredThe trial ended or the subscription is not active.
404product_not_found, research_not_foundNo product or research with this id in your account.
404keyword_not_found, no_captureJustRanks has no search results for this keyword yet, or none for that day.
409research_not_ready, no_productThe research is still running, or it has no ASIN to track.
429rate_limited, busyToo many requests. Wait for Retry-After seconds and try again.
429daily_limit_reached, trial_limit_reachedThe daily allowance is used up. It resets at 00:00 UTC.
429research_limit_reached, analysis_limit_reachedThe month's Research runs or analyses are used up. usage shows the numbers.
429runs_concurrent_limit, runs_hourly_limit3 runs are already running, or 10 started in the last hour. Try again later.
429product_day_limit20 new products in the last 24 hours.
403no_product_slotAll product slots are in use. Add slots under Billing in the app (each extra slot $2/month) or pause a product.
503unavailableTemporarily unavailable. Retry shortly.

Fair use

Use the data for your own work: your own analyses, internal tools and automations, and reports for your own clients. Reselling the data, publishing it as a dataset or running a competing product on it is not allowed. If you want to build a product on JustRanks data, contact us about a commercial license.

Related