API

    Website Rank API

    A website rank API returns where a domain stands among all websites. SameAPI gives global, country and category rank, with the estimated visits behind each one.

    API access starts at $20 a month with no contract. You can test the data free in the dashboard first.

    Free account. API access from $20 a month.

    Website rank API request in three calls

    Get global, country and category rank by API

    Send a list of domains and read the rank fields for each. For canva.com in our October 2026 estimates they say 33rd worldwide, 53rd in the US and first in its category, graphics and web design.

    • The global rank
    • The rank in the country that sends the most visits
    • The category, and the position inside it
    • Visits for three months, top countries and sources
    • A clear status for domains with no data

    Every domain returns the same fields, so your code never guesses whether a missing rank is an error. The results endpoint also takes a filters parameter, to keep only domains ranked in the top 1,000, say.

    Rank fields in an API result

    Know which rank you're calling

    This is a traffic rank: a domain's position among all websites by estimated visits. It isn't a Google keyword position or an authority score, and SameAPI isn't a rank tracker.

    Rank and visits come back together, because a rank alone doesn't say how many visits it stands for.

    Rank is also relative. When other sites grow, a domain can slip without losing a single visit.

    Traffic rank next to keyword position and authority score

    Send lists and read ranks back

    Start a job with POST /api/v1/lookup/batch and up to 10,000 domains, then read the rows with GET /api/v1/jobs/{id}/results when it completes. Every request carries your key in the X-API-Key header, and a webhook tells you when a job finishes.

    Repeat checks of a domain within 5 minutes come from cache. They don't count against your plan.

    Pro gives 10,000 checks a month for $20. Ultra gives 50,000 for $100 and Mega 1,000,000 for $500.

    Start calling the rank API in four steps

    It takes less time than reading a pricing page.

    • Create a free account and test the data in the dashboard
    • Upgrade to Pro and create your API key
    • Send up to 10,000 domains per request
    • Read the rank fields from the results

    Higher plans allow more requests per second. The docs include examples you can copy.

    Four steps to call the website rank API

    Who calls a website rank API

    • Directory owners who show a popularity badge on every listing
    • Tool makers whose old rank field went empty after Alexa closed
    • Data teams loading ranks into a warehouse
    • Marketplaces that filter listings by popularity

    Test the data free in the dashboard with 200 checks a month, then upgrade for API access without a sales call.

    Make your first rank call today

    Create a free account, check the ranks in the dashboard and switch on the API when it fits.

    Free account. API access from $20 a month.

    Last updated: