# SEO data APIs for AI agents > morigraph has 25 SEO data APIs that Claude, ChatGPT, Cursor, Codex or your own code can call, including local pack, backlink anchors, backlink competitors and backlinks. You need no account or API key with a data vendor, only one morigraph connection. Calls cost from 0.048 credits, about $4.80 for 1,000 calls, paid from one balance. ## How to call it Every data API is run by one tool, `data_api`, with the API's id and its arguments. The example is Google Local Pack. In your assistant (MCP). Connect once, then ask in plain words: ```sh claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp Use morigraph's Google Local Pack data API with {"keyword":"coffee shop","language":"en","location":"New York,New York,United States"} and summarise what comes back. ``` From a terminal or script (CLI): ```sh npx @morigraph/cli@latest login morigraph call data_api --json-args '{"api":"seo.local_pack","input":{"keyword":"coffee shop","language":"en","location":"New York,New York,United States"}}' ``` From your own code (HTTP API): ```sh curl https://api.morigraph.com/v1/tools/data_api \ -H "Authorization: Bearer $MORIGRAPH_API_KEY" \ -H "Content-Type: application/json" \ -d '{"api":"seo.local_pack","input":{"keyword":"coffee shop","language":"en","location":"New York,New York,United States"}}' ``` ## Google Local Pack `seo.local_pack` · 0.048 credits a call (about $4.80 for 1,000) Get the Google local pack for a keyword in a city: the short list of businesses Google shows in the map box on its normal search results page, in pack order, with rating, review count, address, category, opening hours, phone, website, booking link, and Google listing ids. Sponsored listings are left out. For the full Google Maps results list, use maps.search. | Argument | Type | Required | What it is | |---|---|---|---| | `keyword` | string | yes | Search keyword, for example coffee shop or plumber. | | `language` | string | no | Language code for the search results. | | `limit` | integer | no | Maximum number of local pack businesses to return. Google usually shows three. Billing is flat per request. | | `location` | string | yes | Location to search from, formatted like City,Region,Country; for example, New York,New York,United States. | Returns: `bookingUrl`, `cid`, `description`, `domain`, `name`, `phone`, `places`, `position`, `rankAbsolute`, `rankGroup`, `rating`, `reviewsCount`, `url` ``` data_api({"api":"seo.local_pack","input":{"keyword":"coffee shop","language":"en","location":"New York,New York,United States"}}) ``` ## SEO Backlink Anchors `seo.backlink_anchors` · 1.536 credits a call (about $154 for 1,000) Get AnyAPI SEO anchor texts of the backlinks pointing at a domain or URL, each with backlink and referring domain counts, authority rank, and spam score as normalized JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `includeSubdomains` | boolean | no | Count links pointing at the target's subdomains as well as the target itself. | | `limit` | integer | no | Maximum number of anchor texts to return. You are billed per returned result, so a lower limit costs less. | | `status` | live \| lost \| all | no | Count backlinks that are live now, ones that have been lost, or both. | | `target` | string | yes | Domain, subdomain, or full page URL to analyze. Send a domain without a protocol or leading www. | Returns: `anchor`, `anchors`, `backlinks`, `brokenBacklinks`, `brokenPages`, `firstSeenUtc`, `linksByAttribute`, `linksByCountry`, `linksByPlatformType`, `linksBySemanticLocation`, `linksByTld`, `linksByType`, `lostUtc`, `rank`, `referringDomains`, `referringDomainsNofollow`, `referringIps`, `referringMainDomains`, `referringMainDomainsNofollow`, `referringPages`, `referringPagesNofollow`, `referringSubnets`, `spamScore`, `totalCount` ``` data_api({"api":"seo.backlink_anchors","input":{"limit":10,"target":"ahrefs.com"}}) ``` ## SEO Backlink Competitors `seo.backlink_competitors` · 1.536 credits a call (about $154 for 1,000) Find the domains that share the most backlinks with a domain or URL, each with its authority rank and shared backlink count as normalized JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `excludeLargeDomains` | boolean | no | Leave out very large sites (such as google.com or wikipedia.org) that share backlinks with almost everyone. | | `limit` | integer | no | Maximum number of competing domains to return. You are billed per returned result, so a lower limit costs less. | | `mainDomainOnly` | boolean | no | Group results by registrable domain rather than listing subdomains separately. | | `target` | string | yes | Domain, subdomain, or full page URL to analyze. Send a domain without a protocol or leading www. | Returns: `competitors`, `domain`, `rank`, `sharedBacklinks`, `totalCount` ``` data_api({"api":"seo.backlink_competitors","input":{"limit":10,"target":"ahrefs.com"}}) ``` ## SEO Backlinks `seo.backlinks` · 1.536 credits a call (about $154 for 1,000) Get AnyAPI SEO backlinks for a domain or URL, each with the linking page, anchor text, dofollow flag, authority rank, spam score, and first and last seen dates as normalized JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `includeSubdomains` | boolean | no | Count links pointing at the target's subdomains as well as the target itself. | | `limit` | integer | no | Maximum number of backlinks to return. You are billed per returned result, so a lower limit costs less. | | `mode` | as_is \| one_per_domain \| one_per_anchor | no | as_is returns every backlink; one_per_domain keeps one backlink per linking domain; one_per_anchor keeps one per anchor text. | | `status` | live \| lost \| all | no | Return backlinks that are live now, ones that have been lost, or both. | | `target` | string | yes | Domain, subdomain, or full page URL to analyze. Send a domain without a protocol or leading www. | Returns: `anchor`, `attributes`, `backlinks`, `dofollow`, `domainFrom`, `domainFromCountry`, `domainFromIp`, `domainFromIsIp`, `domainFromPlatformTypes`, `domainFromRank`, `domainTo`, `firstSeenUtc`, `groupCount`, `imageAlt`, `imageUrl`, `isBroken`, `isIndirect`, `isLost`, `isNew`, `isOriginal`, `lastSeenUtc`, `linkType`, `linksCount`, `pageFromEncoding`, `pageFromExternalLinks`, `pageFromInternalLinks`, `pageFromKeywordsTop10`, `pageFromKeywordsTop100`, `pageFromKeywordsTop3`, `pageFromLanguage`, `pageFromRank`, `pageFromSize`, `pageFromStatusCode`, `pageFromTitle`, `previousSeenUtc`, `rank`, `semanticLocation`, `spamScore`, `textAfter`, `textBefore`, `tldFrom`, `totalCount`, `urlFrom`, `urlTo`, `urlToRedirectTarget`, `urlToSpamScore`, `urlToStatusCode` ``` data_api({"api":"seo.backlinks","input":{"limit":10,"target":"ahrefs.com"}}) ``` ## SEO Backlinks Summary `seo.backlinks_summary` · 0.577 credits a call (about $57.7 for 1,000) Get AnyAPI SEO backlink profile totals for a domain or URL: backlinks, referring domains, authority rank, spam score, and broken links as normalized JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `includeSubdomains` | boolean | no | Count links pointing at the target's subdomains as well as the target itself. | | `target` | string | yes | Domain, subdomain, or full page URL to analyze. Send a domain without a protocol or leading www. | Returns: `backlinks`, `backlinksSpamScore`, `brokenBacklinks`, `brokenPages`, `cms`, `country`, `crawledPages`, `externalLinks`, `firstSeenUtc`, `internalLinks`, `ipAddress`, `isIp`, `linksByAttribute`, `linksByCountry`, `linksByPlatformType`, `linksBySemanticLocation`, `linksByTld`, `linksByType`, `lostUtc`, `platformTypes`, `rank`, `referringDomains`, `referringDomainsNofollow`, `referringIps`, `referringMainDomains`, `referringMainDomainsNofollow`, `referringPages`, `referringPagesNofollow`, `referringSubnets`, `server`, `target`, `targetSpamScore` ``` data_api({"api":"seo.backlinks_summary","input":{"target":"ahrefs.com"}}) ``` ## SEO Competitor Domains `seo.competitors_domain` · 3.772 credits a call (about $377 for 1,000) Get AnyAPI SEO competitor domains for a target domain with shared keyword counts and organic metrics as normalized JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `language` | string | no | Language code for SEO competitor metrics. | | `limit` | integer | no | Maximum number of competitor domains to return. You are billed per returned result, so a lower limit costs less. | | `location` | integer | no | Location code for SEO competitor metrics. The default is the United States. | | `orderBy` | intersections_desc \| organic_keywords_desc \| organic_etv_desc \| avg_position_asc | no | Sort order for the returned competitors: by shared keyword count (intersections), organic keyword count, organic traffic value (etv), or average position. Omit for the default order. | | `target` | string | yes | Domain to analyze, without a protocol or leading www. | Returns: `avgPosition`, `competitors`, `domain`, `intersections`, `organicEtv`, `organicKeywords`, `sumPosition` ``` data_api({"api":"seo.competitors_domain","input":{"language":"en","limit":10,"location":2840,"target":"github.com"}}) ``` ## SEO Domain Intersection `seo.domain_intersection` · 3.772 credits a call (about $377 for 1,000) Get AnyAPI SEO keyword overlap for two domains with each domain's rankings, URLs, volume, CPC, and difficulty as normalized JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `intersections` | boolean | no | When true (the default), return keywords both domains rank for (overlap). When false, return keywords the first domain ranks for that the second domain does NOT (the content-gap query); in that mode secondRank and secondUrl are absent. | | `language` | string | no | Language code for SEO overlap metrics. | | `limit` | integer | no | Maximum number of keywords to return. You are billed per returned result, so a lower limit costs less. | | `location` | integer | no | Location code for SEO overlap metrics. The default is the United States. | | `orderBy` | volume_desc \| volume_asc \| cpc_desc \| difficulty_asc \| difficulty_desc | no | Sort order for the returned keywords: by search volume, cost per click, or keyword difficulty, ascending or descending. Omit for the default order. | | `target1` | string | yes | First domain to compare, without a protocol or leading www. | | `target2` | string | yes | Second domain to compare, without a protocol or leading www. | Returns: `bidHigh`, `bidLow`, `competition`, `cpc`, `firstRank`, `firstTitle`, `firstUrl`, `keyword`, `keywordDifficulty`, `keywords`, `searchIntent`, `searchVolume`, `secondRank`, `secondTitle`, `secondUrl`, `updatedUtc` ``` data_api({"api":"seo.domain_intersection","input":{"language":"en","limit":10,"location":2840,"target1":"github.com","target2":"gitlab.com"}}) ``` ## SEO Domain Pages `seo.domain_pages` · 1.536 credits a call (about $154 for 1,000) Get AnyAPI SEO pages of a domain with their backlink profile (rank, backlinks, referring domains) and on-page data (title, headings, word count, status, technologies) as normalized JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `includeSubdomains` | boolean | no | Count links pointing at the target's subdomains as well as the target itself. | | `limit` | integer | no | Maximum number of pages to return. You are billed per returned result, so a lower limit costs less. | | `status` | live \| lost \| all | no | Count backlinks that are live now, ones that have been lost, or both. | | `target` | string | yes | Domain or subdomain to list pages for, without a protocol or leading www. | Returns: `backlinks`, `brokenBacklinks`, `brokenPages`, `canonical`, `charset`, `contentEncoding`, `domain`, `encodedSize`, `externalLinks`, `fetchedUtc`, `firstSeenUtc`, `firstVisitedUtc`, `h1`, `h2`, `h3`, `imagesCount`, `internalLinks`, `ip`, `language`, `linksByAttribute`, `linksByCountry`, `linksByPlatformType`, `linksBySemanticLocation`, `linksByTld`, `linksByType`, `lostUtc`, `mainDomain`, `mediaType`, `pageSpamScore`, `pages`, `platformTypes`, `previousVisitedUtc`, `rank`, `referringDomains`, `referringDomainsNofollow`, `referringIps`, `referringMainDomains`, `referringMainDomainsNofollow`, `referringPages`, `referringPagesNofollow`, `referringSubnets`, `server`, `size`, `socialTags`, `spamScore`, `statusCode`, `technologies`, `title`, `tld`, `totalCount`, `url`, `wordsCount` ``` data_api({"api":"seo.domain_pages","input":{"limit":10,"target":"ahrefs.com"}}) ``` ## SEO Domain Rank Overview `seo.domain_rank_overview` · 0.291 credits a call (about $29.1 for 1,000) Get AnyAPI SEO domain ranking, organic traffic, and paid traffic metrics as normalized JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `language` | string | no | Language code for SEO domain metrics. | | `location` | integer | no | Location code for SEO domain metrics. The default is the United States. | | `target` | string | yes | Domain to analyze, without a protocol or leading www. | Returns: `domain`, `language`, `location`, `organicKeywords`, `organicPos1`, `organicPos2To3`, `organicPos4To10`, `organicTraffic`, `organicTrafficCostUsd`, `paidKeywords`, `paidPos1`, `paidPos2To3`, `paidPos4To10`, `paidTraffic`, `paidTrafficCostUsd` ``` data_api({"api":"seo.domain_rank_overview","input":{"language":"en","location":2840,"target":"ahrefs.com"}}) ``` ## SEO Domain Technologies `seo.domain_technologies` · 0.288 credits a call (about $28.8 for 1,000) Detect the technology stack a website runs: CMS, analytics, marketing, hosting, and security, plus contacts and social profiles as normalized JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `domain` | string | yes | Domain to analyze, without a protocol or leading www. Billing is flat per request. | Returns: `contentLanguageCode`, `countryIsoCode`, `description`, `domain`, `domainRank`, `emails`, `languageCode`, `lastVisitedUtc`, `phoneNumbers`, `socialGraphUrls`, `technologies`, `title` ``` data_api({"api":"seo.domain_technologies","input":{"domain":"hubspot.com"}}) ``` ## SEO Domains By Technology `seo.domains_by_technology` · 2.692 credits a call (about $269 for 1,000) Find websites running a given technology, category, or on-page term: domain, rank, detected stack, contacts, and social profiles as normalized JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `category` | string | no | Technology category to match, for example marketing_automation. Broader than technology: it returns every domain running anything in that category. | | `cursor` | string | no | Pagination cursor from a previous response's nextCursor. Omit for the first page. | | `group` | string | no | Top-level technology group to match, for example marketing or servers. The broadest selector. | | `keyword` | string | no | On-page term to match in the site's HTML, for example highlevel. Use this to find sites running a product that the technology index does not detect by name. | | `limit` | integer | no | Maximum number of domains to return in this response. You are billed per returned result, so a lower limit costs less. | | `orderBy` | rank_desc \| rank_asc \| last_visited_desc \| country_asc | no | Sort order for the returned domains: by domain rank descending or ascending, by most recently crawled, or by country code. Omit for the default order. | | `technology` | string | no | Exact technology name to match, for example Nginx or HubSpot. Only technologies present in the detection index are accepted; any other name is rejected with a 400 error and no charge, so use keyword instead when a product is not matched … | Returns: `contentLanguageCode`, `countryIsoCode`, `description`, `domain`, `domainRank`, `domains`, `emails`, `keywords`, `languageCode`, `lastVisitedUtc`, `nextCursor`, `phoneNumbers`, `socialGraphUrls`, `technologies`, `title`, `totalCount` ``` data_api({"api":"seo.domains_by_technology","input":{"keyword":"highlevel","limit":10,"orderBy":"rank_desc"}}) ``` ## SEO Keyword Difficulty `seo.keyword_difficulty` · 3.487 credits a call (about $349 for 1,000) Get AnyAPI SEO keyword difficulty scores for one or more keywords as normalized JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `keywords` | array of string | yes | SEO keywords to score for organic ranking difficulty. | | `language` | string | no | Language code for SEO keyword difficulty metrics. | | `location` | integer | no | Location code for SEO keyword difficulty metrics. The default is the United States. | Returns: `difficulties`, `keyword`, `keywordDifficulty` ``` data_api({"api":"seo.keyword_difficulty","input":{"keywords":["seo tools"],"language":"en","location":2840}}) ``` ## SEO Keyword Ideas `seo.keyword_ideas` · 3.499 credits a call (about $350 for 1,000) Find AnyAPI SEO keyword ideas from seed terms with volume, CPC, competition, difficulty, and intent as normalized JSON. Ideas are broad: they come from the product and service categories of the seeds, so many will not contain the seed words. For ideas that contain the seed phrase use seo.keyword_suggestions with exactMatch set to true; for Google's related searches use seo.related_keywords. | Argument | Type | Required | What it is | |---|---|---|---| | `closelyVariants` | boolean | no | When true, match the seeds by phrase match instead of broad match (the default, false). Ideas still come from the categories of the seeds, so not every idea will contain the seed words. For ideas that contain the seed phrase use seo.keyw… | | `keywords` | array of string | yes | Seed SEO keywords. Ideas are drawn from the product and service categories these seeds belong to, so results are broad and many ideas will not contain the seed words. | | `language` | string | no | Language code for SEO metrics. | | `limit` | integer | no | Maximum number of keyword ideas to return. You are billed per returned result, so a lower limit costs less. | | `location` | integer | no | Location code for SEO metrics. The default is the United States. | | `orderBy` | volume_desc \| volume_asc \| cpc_desc \| difficulty_asc \| difficulty_desc | no | Sort order for the returned ideas: by search volume, cost per click, or keyword difficulty, ascending or descending. Omit for the default order. | Returns: `bidHigh`, `bidLow`, `competition`, `cpc`, `ideas`, `keyword`, `keywordDifficulty`, `monthlySearches`, `searchIntent`, `searchVolume`, `updatedUtc` ``` data_api({"api":"seo.keyword_ideas","input":{"keywords":["project management software"],"language":"en","limit":5,"location":2840}}) ``` ## SEO Keyword Overview `seo.keyword_overview` · 2.527 credits a call (about $253 for 1,000) Get AnyAPI SEO keyword metrics including search volume, CPC, competition, difficulty, and search intent as normalized JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `keywords` | array of string | yes | SEO keywords to analyze. | | `language` | string | no | Language code for SEO metrics. | | `location` | integer | no | Location code for SEO metrics. The default is the United States. | Returns: `bidHigh`, `bidLow`, `competition`, `cpc`, `keyword`, `keywordDifficulty`, `keywords`, `monthlySearches`, `searchIntent`, `searchVolume`, `updatedUtc` ``` data_api({"api":"seo.keyword_overview","input":{"keywords":["project management software"],"language":"en","location":2840}}) ``` ## SEO Keyword Suggestions `seo.keyword_suggestions` · 3.499 credits a call (about $350 for 1,000) Find AnyAPI SEO keyword suggestions from a seed term with volume, CPC, competition, difficulty, and intent as normalized JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `exactMatch` | boolean | no | When true, only return suggestions that contain the exact seed phrase; when false (the default), allow reordered and partial-match suggestions. | | `keyword` | string | yes | Seed SEO keyword used to generate keyword suggestions. | | `language` | string | no | Language code for SEO metrics. | | `limit` | integer | no | Maximum number of keyword suggestions to return. You are billed per returned result, so a lower limit costs less. | | `location` | integer | no | Location code for SEO metrics. The default is the United States. | | `orderBy` | volume_desc \| volume_asc \| cpc_desc \| difficulty_asc \| difficulty_desc | no | Sort order for the returned suggestions: by search volume, cost per click, or keyword difficulty, ascending or descending. Omit for the default order. | Returns: `bidHigh`, `bidLow`, `competition`, `cpc`, `keyword`, `keywordDifficulty`, `monthlySearches`, `searchIntent`, `searchVolume`, `suggestions`, `updatedUtc` ``` data_api({"api":"seo.keyword_suggestions","input":{"keyword":"project management software","language":"en","limit":5,"location":2840}}) ``` ## SEO LLM Mentions `seo.llm_mentions` · 26.4 credits a call (about $2640 for 1,000) Find AI answers that mention a domain or keyword, from Google AI Overviews or ChatGPT, each with the question asked, the answer, its cited sources, and AI search volume as normalized JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `domain` | string | no | Domain whose mentions to find, without a protocol or leading www. Send domain or keyword, not both. | | `keyword` | string | no | Brand name or phrase whose mentions to find. Send domain or keyword, not both. | | `language` | string | no | Language code to restrict answers to, for example en. Omit for every language. | | `limit` | integer | no | Maximum number of AI answers to return. You are billed per returned result, so a lower limit costs less. | | `location` | integer | no | Location code to restrict answers to, for example 2840 for the United States. Omit for every location. | | `platform` | google \| chat_gpt | no | AI surface to search: google for Google AI Overviews, chat_gpt for ChatGPT. | Returns: `aiSearchVolume`, `answer`, `firstResponseUtc`, `language`, `lastResponseUtc`, `location`, `mentions`, `model`, `monthlySearches`, `platform`, `question`, `sources`, `totalCount` ``` data_api({"api":"seo.llm_mentions","input":{"domain":"ahrefs.com","limit":5,"platform":"google"}}) ``` ## SEO LLM Top Brands `seo.llm_top_brands` · 26.4 credits a call (about $2640 for 1,000) Rank the brands ChatGPT names most often in answers about a keyword or domain, each with mention count, AI search volume, and the sources and categories behind them as normalized JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `breakdownLimit` | integer | no | How many entries each breakdown list (cited domains, brands, locations, and so on) carries. | | `domain` | string | no | Only count AI answers that mention or cite this domain, without a protocol or leading www. Send domain or keyword, not both. | | `keyword` | string | no | Only count AI answers that contain this word or phrase. Send domain or keyword, not both. | | `language` | string | no | Language code to restrict answers to, for example en. Omit for every language. | | `limit` | integer | no | Maximum number of brands to return. You are billed per returned result, so a lower limit costs less. | | `location` | integer | no | Location code to restrict answers to, for example 2840 for the United States. Omit for every location. | Returns: `aiSearchVolume`, `brand`, `brandCategories`, `brands`, `category`, `citedDomains`, `domain`, `language`, `languages`, `location`, `locations`, `mentions`, `overallBrandCategories`, `overallBrands`, `overallCitedDomains`, `overallLanguages`, `overallLocations`, `overallPlatforms`, `overallSearchResultDomains`, `platform`, `platforms`, `searchResultDomains`, `totalCount` ``` data_api({"api":"seo.llm_top_brands","input":{"keyword":"seo tools","limit":5}}) ``` ## SEO LLM Top Domains `seo.llm_top_domains` · 26.4 credits a call (about $2640 for 1,000) Rank the domains Google AI Overviews and ChatGPT cite most often in answers about a keyword or domain, each with mention count, AI search volume, and breakdowns by platform, location, and co-cited sources as normalized JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `breakdownLimit` | integer | no | How many entries each breakdown list (cited domains, brands, locations, and so on) carries. | | `domain` | string | no | Only count AI answers that mention or cite this domain, without a protocol or leading www. Send domain or keyword, not both. | | `keyword` | string | no | Only count AI answers that contain this word or phrase. Send domain or keyword, not both. | | `language` | string | no | Language code to restrict answers to, for example en. Omit for every language. | | `limit` | integer | no | Maximum number of domains to return. You are billed per returned result, so a lower limit costs less. | | `location` | integer | no | Location code to restrict answers to, for example 2840 for the United States. Omit for every location. | | `platform` | google \| chat_gpt | no | AI surface to count: google for Google AI Overviews, chat_gpt for ChatGPT. Omit for both. | Returns: `aiSearchVolume`, `brand`, `brandCategories`, `brands`, `category`, `citedDomains`, `domain`, `domains`, `language`, `languages`, `location`, `locations`, `mentions`, `overallBrandCategories`, `overallBrands`, `overallCitedDomains`, `overallLanguages`, `overallLocations`, `overallPlatforms`, `overallSearchResultDomains`, `platform`, `platforms`, `searchResultDomains`, `totalCount` ``` data_api({"api":"seo.llm_top_domains","input":{"keyword":"seo tools","limit":5}}) ``` ## SEO LLM Top Pages `seo.llm_top_pages` · 26.4 credits a call (about $2640 for 1,000) Rank the pages Google AI Overviews and ChatGPT cite most often in answers about a keyword or domain, each with mention count, AI search volume, and breakdowns by platform, location, and co-cited sources as normalized JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `breakdownLimit` | integer | no | How many entries each breakdown list (cited domains, brands, locations, and so on) carries. | | `domain` | string | no | Only count AI answers that mention or cite this domain, without a protocol or leading www. Send domain or keyword, not both. | | `keyword` | string | no | Only count AI answers that contain this word or phrase. Send domain or keyword, not both. | | `language` | string | no | Language code to restrict answers to, for example en. Omit for every language. | | `limit` | integer | no | Maximum number of pages to return. You are billed per returned result, so a lower limit costs less. | | `location` | integer | no | Location code to restrict answers to, for example 2840 for the United States. Omit for every location. | | `platform` | google \| chat_gpt | no | AI surface to count: google for Google AI Overviews, chat_gpt for ChatGPT. Omit for both. | Returns: `aiSearchVolume`, `brand`, `brandCategories`, `brands`, `category`, `citedDomains`, `domain`, `language`, `languages`, `location`, `locations`, `mentions`, `overallBrandCategories`, `overallBrands`, `overallCitedDomains`, `overallLanguages`, `overallLocations`, `overallPlatforms`, `overallSearchResultDomains`, `page`, `pages`, `platform`, `platforms`, `searchResultDomains`, `totalCount` ``` data_api({"api":"seo.llm_top_pages","input":{"keyword":"seo tools","limit":5}}) ``` ## SEO Ranked Keywords `seo.ranked_keywords` · 3.499 credits a call (about $350 for 1,000) Get AnyAPI SEO ranked keywords for a domain with rankings, traffic estimates, volume, CPC, difficulty, and intent as normalized JSON. One call returns up to 1,000 keywords; use offset to page further. | Argument | Type | Required | What it is | |---|---|---|---| | `language` | string | no | Language code for SEO ranking metrics. | | `limit` | integer | no | Maximum number of ranked keywords to return. 1,000 is the per-call maximum; use offset to fetch more. You are billed per returned result, so a lower limit costs less. | | `location` | integer | no | Location code for SEO ranking metrics. The default is the United States. | | `offset` | integer | no | Number of ranked keywords to skip in the chosen sort order. To fetch the next page, set offset to the previous offset plus limit, and keep the same orderBy, location, and language across pages. You are billed only for the keywords returned. | | `orderBy` | position_asc \| position_desc \| volume_desc \| etv_desc | no | Sort order for the returned ranked keywords: by SERP position (ascending for best rankings first), search volume, or estimated traffic value (etv). Omit for the default order. | | `target` | string | yes | Domain to analyze, without a protocol or leading www. | Returns: `competition`, `cpc`, `description`, `domain`, `etv`, `keyword`, `keywordDifficulty`, `rankAbsolute`, `rankGroup`, `rankedKeywords`, `searchIntent`, `searchVolume`, `title`, `type`, `updatedUtc`, `url` ``` data_api({"api":"seo.ranked_keywords","input":{"language":"en","limit":10,"location":2840,"target":"github.com"}}) ``` ## SEO Referring Domains `seo.referring_domains` · 1.536 credits a call (about $154 for 1,000) Get AnyAPI SEO referring domains for a domain or URL, each with its backlink count, authority rank, spam score, and first seen date as normalized JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `includeSubdomains` | boolean | no | Count links pointing at the target's subdomains as well as the target itself. | | `limit` | integer | no | Maximum number of referring domains to return. You are billed per returned result, so a lower limit costs less. | | `target` | string | yes | Domain, subdomain, or full page URL to analyze. Send a domain without a protocol or leading www. | Returns: `backlinks`, `brokenBacklinks`, `brokenPages`, `domain`, `firstSeenUtc`, `linksByAttribute`, `linksByCountry`, `linksByPlatformType`, `linksBySemanticLocation`, `linksByTld`, `linksByType`, `lostUtc`, `rank`, `referringDomains`, `referringDomainsNofollow`, `referringIps`, `referringMainDomains`, `referringMainDomainsNofollow`, `referringPages`, `referringPagesNofollow`, `referringSubnets`, `spamScore`, `totalCount` ``` data_api({"api":"seo.referring_domains","input":{"limit":10,"target":"ahrefs.com"}}) ``` ## SEO Related Keywords `seo.related_keywords` · 3.499 credits a call (about $350 for 1,000) Find AnyAPI SEO related keywords from a seed term with volume, CPC, competition, difficulty, and intent as normalized JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `depth` | integer | no | Depth of the related-keyword expansion (0-4). Higher depth explores a broader keyword tree; the number of returned results, and therefore the price, is still capped by limit. | | `keyword` | string | yes | Seed SEO keyword used to find related keywords. | | `language` | string | no | Language code for SEO metrics. | | `limit` | integer | no | Maximum number of related keywords to return. You are billed per returned result, so a lower limit costs less. | | `location` | integer | no | Location code for SEO metrics. The default is the United States. | | `orderBy` | volume_desc \| volume_asc \| cpc_desc \| difficulty_asc \| difficulty_desc | no | Sort order for the returned related keywords: by search volume, cost per click, or keyword difficulty, ascending or descending. Omit for the default order. | Returns: `bidHigh`, `bidLow`, `competition`, `cpc`, `depth`, `keyword`, `keywordDifficulty`, `keywords`, `monthlySearches`, `relatedKeywords`, `searchIntent`, `searchVolume`, `updatedUtc` ``` data_api({"api":"seo.related_keywords","input":{"keyword":"project management software","language":"en","limit":5,"location":2840}}) ``` ## SEO Search Intent `seo.search_intent` · 3.487 credits a call (about $349 for 1,000) Classify AnyAPI SEO keyword search intent as normalized JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `keywords` | array of string | yes | SEO keywords to classify by search intent. | | `language` | string | no | Language code for search intent classification. | Returns: `intent`, `intents`, `keyword` ``` data_api({"api":"seo.search_intent","input":{"keywords":["seo tools"],"language":"en"}}) ``` ## SEO Search Volume `seo.search_volume` · 2.16 credits a call (about $216 for 1,000) Get AnyAPI SEO keyword search volume, CPC, competition, bid estimates, and monthly history as normalized JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `dateFrom` | string | no | Start of the historical monthly-searches window, formatted YYYY-MM-DD. Cannot be more than four years before today. Omit for the default trailing window. | | `dateTo` | string | no | End of the historical monthly-searches window, formatted YYYY-MM-DD. Omit for the default trailing window. | | `keywords` | array of string | yes | SEO keyword phrases to retrieve search-volume metrics for. | | `language` | string | no | Language code for SEO search-volume metrics. | | `location` | integer | no | Location code for SEO search-volume metrics. The default is the United States. | | `searchPartners` | boolean | no | When true, include Google search-partner network volume in the reported numbers; when false (the default), count Google search only. | Returns: `bidHigh`, `bidLow`, `competition`, `competitionIndex`, `cpc`, `keyword`, `keywords`, `monthlySearches`, `searchVolume` ``` data_api({"api":"seo.search_volume","input":{"keywords":["seo tools"],"language":"en","location":2840}}) ``` ## SEO Top Pages `seo.top_pages` · 3.168 credits a call (about $317 for 1,000) Get AnyAPI SEO top pages of a domain by organic search, each with ranking keyword counts, estimated traffic and its ad value, and position distribution as normalized JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `language` | string | no | Language code for search metrics. | | `limit` | integer | no | Maximum number of pages to return. You are billed per returned result, so a lower limit costs less. | | `location` | integer | no | Location code for search metrics. The default is the United States. | | `status` | live \| lost \| all | no | Count rankings the page holds now, rankings it has lost, or both. | | `target` | string | yes | Domain to analyze, without a protocol or leading www. | Returns: `organicDown`, `organicKeywords`, `organicLost`, `organicNew`, `organicPos1`, `organicPos11To20`, `organicPos21To30`, `organicPos2To3`, `organicPos31To40`, `organicPos41To50`, `organicPos4To10`, `organicPos51To60`, `organicPos61To70`, `organicPos71To80`, `organicPos81To90`, `organicPos91To100`, `organicTraffic`, `organicTrafficCostUsd`, `organicUp`, `pages`, `paidDown`, `paidKeywords`, `paidLost`, `paidNew`, `paidPos1`, `paidPos11To20`, `paidPos21To30`, `paidPos2To3`, `paidPos31To40`, `paidPos41To50`, `paidPos4To10`, `paidPos51To60`, `paidPos61To70`, `paidPos71To80`, `paidPos81To90`, `paidPos91To100`, `paidTraffic`, `paidTrafficCostUsd`, `paidUp`, `totalCount`, `url` ``` data_api({"api":"seo.top_pages","input":{"limit":10,"target":"ahrefs.com"}}) ``` ## Do I need my own API key for SEO data? No. morigraph supplies the access. You connect morigraph once to your assistant, or use one morigraph API key from your own code, and call any of the 25 APIs on this page. ## What does SEO data cost through morigraph? Between 0.048 and 26.4 credits a call depending on the API, where a credit is about 10 cents. That is from about $4.80 for 1,000 calls. You pay per call from one balance, with no separate subscription. ## Can Claude, ChatGPT or Cursor get SEO data? Yes. Add morigraph as an MCP server, sign in once, then ask in plain words. Your assistant finds the right API with one search and runs it with one call. ## Which SEO data APIs are available? Google Local Pack, SEO Backlink Anchors, SEO Backlink Competitors, SEO Backlinks, SEO Backlinks Summary, SEO Competitor Domains, SEO Domain Intersection, SEO Domain Pages, SEO Domain Rank Overview and SEO Domain Technologies, and 15 more listed on this page. --- Canonical page: https://morigraph.com/tools/data/seo/ Prices read from the catalogue on 2026-11-27. These APIs return public data; how you may use it depends on the platform's terms and applicable law. All data APIs: https://morigraph.com/tools/data.md · Connect: https://morigraph.com/connect.md · Site overview: https://morigraph.com/llms.txt