> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Mangools

> Mangools SEO data: related keywords with volumes and difficulty, keyword SERPs, a domain's ranking keywords and competitors, backlinks and link metrics, and site overviews.

![](https://mintcdn.com/webrouter/JBFYvcRI1PVnd4YX/logo/data-apis/mangools.webp?fit=max\&auto=format\&n=JBFYvcRI1PVnd4YX\&q=85\&s=ad88f17f0721e5a5f45a0d71d3448ae8)

[Web Catalog · SEO](https://docs.webrouter.net/data-apis.md?category=seo)

Needs&#x20;

`MANGOOLS_API_KEY`

Endpoints

11

Auth

Key in header

[Vendor docs](https://apidocs.mangools.com/)

&#x20;·&#x20;

[Pricing](https://mangools.com/plans)

## Setup

| Variable | | What it is |
| - | - | - |
| `MANGOOLS_API_KEY` | required | a Mangools API token (mangools.com/api-token), sent in the x-access-token header |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Lookups draw from plan quota pools (daily for keywords, SERPs and metrics, monthly for backlink rows); mangools.limits shows what is left. A spent pool answers 429 with type CreditLimit. Identical requests within 24 hours come from cache and cost nothing.
* Burst limit: 3 requests per 30 seconds per account and pool; send requests one at a time, at least 11 seconds apart in the same pool. Over it: 429 type RateLimit with retry\_after seconds.
* Locations are Google geotarget ids (2840 is the United States); find them with mangools.locations.search.

## Endpoints

GET

Get remaining quotas

Usage and what is left in every quota pool (keyword lookups, SERP lookups, backlink rows...), with seconds to each reset.

[Open](#mangools-limits)

GET

Find location ids

Locations matching a name (country, region, city) with their location\_id, used by every lookup.

[Open](#mangools-locations-search)

GET

Get related keywords

Keyword ideas for a seed keyword with search volume (sv), CPC and SEO difficulty (seo), for a location and language.

[Open](#mangools-keywords-related)

GET

Get keyword difficulty and top results

A keyword's SEO difficulty, organic results with their link metrics, result count and CTR by position.

[Open](#mangools-keywords-serp)

GET

Get the keywords a site ranks for

Organic keywords a URL or domain ranks for in one location, with their metrics.

[Open](#mangools-domain-keywords)

GET

Get organic competitor domains

Domains competing with a URL or domain for the same organic keywords.

[Open](#mangools-domain-competitors)

GET

List backlinks

Backlinks to a URL, domain or path, all, new or lost, 500 per page.

[Open](#mangools-links-list)

GET

Get link authority metrics

Citation Flow, Trust Flow, referring domains and backlink counts for a URL or domain.

[Open](#mangools-links-metrics)

GET

Get a site overview

Domain and page authority, Citation and Trust Flow, and rank and referring-IP history for a URL or domain.

[Open](#mangools-site-overview)

GET

Get a site's competitors

Competing sites for a URL or domain.

[Open](#mangools-site-competitors)

GET

Get a site's top content

The site's top pages, as SiteProfiler ranks them.

[Open](#mangools-site-top-content)

### Get remaining quotas

GET

`/kwfinder/limits`

`mangools.limits`

Usage and what is left in every quota pool (keyword lookups, SERP lookups, backlink rows...), with seconds to each reset.

Input

No inputs.

[Vendor docs](https://apidocs.mangools.com/kwfinder/get-limits)

```python Python theme={null}
router.call_data_api("mangools.limits")
```

```text MCP theme={null}
call_data_api(endpoint="mangools.limits")
```

> [!NOTE]
>
> * Answers 200 with nothing left even for a bad or missing token, so it cannot check a key.

### Find location ids

GET

`/mangools/locations`

`mangools.locations.search`

Locations matching a name (country, region, city) with their location\_id, used by every lookup.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`query` required</td><td>string</td><td>query</td><td>Location name. Example `New York`</td></tr>
  </tbody>
</table>

[Vendor docs](https://apidocs.mangools.com/kwfinder/get-locations) · Same job: [Aviato](https://docs.webrouter.net/data-apis/aviato.md#aviato-geocoder-search), [CNPJá](https://docs.webrouter.net/data-apis/cnpja.md#cnpja-zip-get), [CompanyEnrich](https://docs.webrouter.net/data-apis/companyenrich.md#companyenrich-geo-regions), [Duffel](https://docs.webrouter.net/data-apis/duffel.md#duffel-places-suggestions), [Forager](https://docs.webrouter.net/data-apis/forager.md#forager-reference-locations), [IBGE](https://docs.webrouter.net/data-apis/ibge.md#ibge-aggregates-places)

```python Python theme={null}
router.call_data_api("mangools.locations.search", {'query': 'New York'})
```

```text MCP theme={null}
call_data_api(endpoint="mangools.locations.search", params={"query": "New York"})
```

### Get related keywords

GET

`/kwfinder/related-keywords`

`mangools.keywords.related`

Keyword ideas for a seed keyword with search volume (sv), CPC and SEO difficulty (seo), for a location and language.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`kw` required</td><td>string</td><td>query</td><td>Seed keyword. Example `running shoes`</td></tr>

    <tr>
      <td>
        `location_id`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Location id; 0 (default) for global volumes.
      </td>
    </tr>

    <tr>
      <td>
        `language_id`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Language id; 0 by default.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://apidocs.mangools.com/kwfinder/get-related-keywords) · Same job: [Ahrefs](https://docs.webrouter.net/data-apis/ahrefs.md#ahrefs-matching-terms), [DataForSEO](https://docs.webrouter.net/data-apis/dataforseo.md#dataforseo-labs-keyword-ideas), [Google Ads](https://docs.webrouter.net/data-apis/google-ads.md#google-ads-keywords-ideas), [Keywords Everywhere](https://docs.webrouter.net/data-apis/keywordseverywhere.md#keywordseverywhere-related-keywords), [Semrush](https://docs.webrouter.net/data-apis/semrush.md#semrush-keyword-related), [SE Ranking](https://docs.webrouter.net/data-apis/seranking.md#seranking-keywords-related)

```python Python theme={null}
router.call_data_api("mangools.keywords.related", {'kw': 'running shoes'})
```

```text MCP theme={null}
call_data_api(endpoint="mangools.keywords.related", params={"kw": "running shoes"})
```

> [!NOTE]
>
> * Draws on the Keyword lookups pool; an identical request within 24 hours is free.

### Get keyword difficulty and top results

GET

`/kwfinder/serps`

`mangools.keywords.serp`

A keyword's SEO difficulty, organic results with their link metrics, result count and CTR by position.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `kw`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Keyword.
      </td>
    </tr>

    <tr>
      <td>
        `location_id`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Location id; 0 or none means 2840 (United States).
      </td>
    </tr>

    <tr>
      <td>
        `language_id`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Language id.
      </td>
    </tr>

    <tr><td>`platform_id`</td><td>integer</td><td>query</td><td>1 desktop (default) or 2 mobile. One of `1`, `2`</td></tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results page, from 0.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://apidocs.mangools.com/kwfinder/get-serps) · Same job: [Semrush](https://docs.webrouter.net/data-apis/semrush.md#semrush-keyword-difficulty)

> [!NOTE]
>
> * Draws on the SERP lookups pool; an identical request within 24 hours is free.

### Get the keywords a site ranks for

GET

`/kwfinder/competitor-keywords`

`mangools.domain.keywords`

Organic keywords a URL or domain ranks for in one location, with their metrics.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`url` required</td><td>string</td><td>query</td><td>Target URL, domain or subdomain. Example `example.com`</td></tr>

    <tr>
      <td>
        `location_id`

        required
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Location id; 0 for anywhere.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://apidocs.mangools.com/kwfinder/get-competitor-keywords) · Same job: [Ahrefs](https://docs.webrouter.net/data-apis/ahrefs.md#ahrefs-organic-keywords), [Keywords Everywhere](https://docs.webrouter.net/data-apis/keywordseverywhere.md#keywordseverywhere-domain-keywords), [Semrush](https://docs.webrouter.net/data-apis/semrush.md#semrush-domain-organic-keywords), [Serpstat](https://docs.webrouter.net/data-apis/serpstat.md#serpstat-domain-keywords)

> [!NOTE]
>
> * Draws on the Keyword lookups pool. Rows are capped by the plan's competitor-keywords-rows (see limits); ordered from worst position to best.

### Get organic competitor domains

GET

`/kwfinder/competitor-domain`

`mangools.domain.competitors`

Domains competing with a URL or domain for the same organic keywords.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`url` required</td><td>string</td><td>query</td><td>Target URL, domain or subdomain. Example `example.com`</td></tr>

    <tr>
      <td>
        `location_id`

        required
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Location id, as used for the keywords lookup.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://apidocs.mangools.com/kwfinder/get-competitor-domain) · Same job: [Advanced Web Ranking](https://docs.webrouter.net/data-apis/advanced-web-ranking.md#advanced-web-ranking-marketshare-metadata), [Semrush](https://docs.webrouter.net/data-apis/semrush.md#semrush-domain-organic-competitors), [SE Ranking](https://docs.webrouter.net/data-apis/seranking.md#seranking-domain-competitors), [Serpstat](https://docs.webrouter.net/data-apis/serpstat.md#serpstat-domain-competitors), [Similarweb](https://docs.webrouter.net/data-apis/similarweb.md#similarweb-similar-sites), [SpyFu](https://docs.webrouter.net/data-apis/spyfu.md#spyfu-seo-top-competitors)

> [!NOTE]
>
> * Needs a mangools.domain.keywords lookup for the same url and location\_id within the last 24 hours, else 422 No result. Free.

### List backlinks

GET

`/linkminer/links`

`mangools.links.list`

Backlinks to a URL, domain or path, all, new or lost, 500 per page.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`url` required</td><td>string</td><td>query</td><td>URL, domain or path. Example `example.com`</td></tr>
    <tr><td>`source` required</td><td>integer</td><td>query</td><td>0 all, 1 new, 2 lost. One of `0`, `1`, `2` Example `0`</td></tr>
    <tr><td>`page` required</td><td>integer</td><td>query</td><td>Page, from 0. Example `0`</td></tr>
    <tr><td>`links_per_domain` required</td><td>integer</td><td>query</td><td>Links per referring domain: 0 all, 1 one per domain. Example `1`</td></tr>
  </tbody>
</table>

[Vendor docs](https://apidocs.mangools.com/linkminer/get-links) · Same job: [Ahrefs](https://docs.webrouter.net/data-apis/ahrefs.md#ahrefs-backlinks), [Bing Webmaster Tools](https://docs.webrouter.net/data-apis/bing-webmaster.md#bing-webmaster-links-counts), [Keywords Everywhere](https://docs.webrouter.net/data-apis/keywordseverywhere.md#keywordseverywhere-domain-backlinks), [Majestic](https://docs.webrouter.net/data-apis/majestic.md#majestic-backlinks-list), [Moz](https://docs.webrouter.net/data-apis/moz.md#moz-links-links), [Semrush](https://docs.webrouter.net/data-apis/semrush.md#semrush-backlinks-list)

```python Python theme={null}
router.call_data_api("mangools.links.list", {'url': 'example.com', 'source': 0, 'page': 0, 'links_per_domain': 1})
```

```text MCP theme={null}
call_data_api(endpoint="mangools.links.list", params={"url": "example.com", "source": 0, "page": 0, "links_per_domain": 1})
```

> [!NOTE]
>
> * Spends the monthly Backlink rows pool by each link returned.

### Get link authority metrics

GET

`/linkminer/url-metrics`

`mangools.links.metrics`

Citation Flow, Trust Flow, referring domains and backlink counts for a URL or domain.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`url` required</td><td>string</td><td>query</td><td>Target URL. Example `example.com`</td></tr>
  </tbody>
</table>

[Vendor docs](https://apidocs.mangools.com/linkminer/get-url-metrics) · Same job: [Ahrefs](https://docs.webrouter.net/data-apis/ahrefs.md#ahrefs-domain-rating), [DataForSEO](https://docs.webrouter.net/data-apis/dataforseo.md#dataforseo-labs-domain-rank-overview), [Semrush](https://docs.webrouter.net/data-apis/semrush.md#semrush-overview-domain-rank), [Similarweb](https://docs.webrouter.net/data-apis/similarweb.md#similarweb-rank-global)

```python Python theme={null}
router.call_data_api("mangools.links.metrics", {'url': 'example.com'})
```

```text MCP theme={null}
call_data_api(endpoint="mangools.links.metrics", params={"url": "example.com"})
```

> [!NOTE]
>
> * Draws on the daily lm-url-metrics pool.

### Get a site overview

GET

`/siteprofiler/overview`

`mangools.site.overview`

Domain and page authority, Citation and Trust Flow, and rank and referring-IP history for a URL or domain.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`url` required</td><td>string</td><td>query</td><td>Target URL, domain or subdomain. Example `example.com`</td></tr>
  </tbody>
</table>

[Vendor docs](https://apidocs.mangools.com/siteprofiler/get-overview) · Same job: [Adyntel](https://docs.webrouter.net/data-apis/adyntel.md#adyntel-domain-keywords), [Ahrefs](https://docs.webrouter.net/data-apis/ahrefs.md#ahrefs-metrics), [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-company-traffic), [Aviato](https://docs.webrouter.net/data-apis/aviato.md#aviato-company-web-traffic), [Keywords Everywhere](https://docs.webrouter.net/data-apis/keywordseverywhere.md#keywordseverywhere-domain-traffic), [Majestic](https://docs.webrouter.net/data-apis/majestic.md#majestic-index-item-info)

```python Python theme={null}
router.call_data_api("mangools.site.overview", {'url': 'example.com'})
```

```text MCP theme={null}
call_data_api(endpoint="mangools.site.overview", params={"url": "example.com"})
```

> [!NOTE]
>
> * Draws on the daily sp-overview pool. Run it before site.competitors and site.top\_content.

### Get a site's competitors

GET

`/siteprofiler/competitors`

`mangools.site.competitors`

Competing sites for a URL or domain.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`url` required</td><td>string</td><td>query</td><td>Target URL, domain or subdomain. Example `example.com`</td></tr>
  </tbody>
</table>

[Vendor docs](https://apidocs.mangools.com/siteprofiler/get-competitors) · Same job: [Advanced Web Ranking](https://docs.webrouter.net/data-apis/advanced-web-ranking.md#advanced-web-ranking-marketshare-metadata), [Semrush](https://docs.webrouter.net/data-apis/semrush.md#semrush-domain-organic-competitors), [SE Ranking](https://docs.webrouter.net/data-apis/seranking.md#seranking-domain-competitors), [Serpstat](https://docs.webrouter.net/data-apis/serpstat.md#serpstat-domain-competitors), [Similarweb](https://docs.webrouter.net/data-apis/similarweb.md#similarweb-similar-sites), [SpyFu](https://docs.webrouter.net/data-apis/spyfu.md#spyfu-seo-top-competitors)

```python Python theme={null}
router.call_data_api("mangools.site.competitors", {'url': 'example.com'})
```

```text MCP theme={null}
call_data_api(endpoint="mangools.site.competitors", params={"url": "example.com"})
```

> [!NOTE]
>
> * Needs a site.overview lookup of the same url in the last 24 hours, else 429 Not in history.

### Get a site's top content

GET

`/siteprofiler/top-content`

`mangools.site.top_content`

The site's top pages, as SiteProfiler ranks them.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`url` required</td><td>string</td><td>query</td><td>Target URL, domain or subdomain. Example `example.com`</td></tr>
  </tbody>
</table>

[Vendor docs](https://apidocs.mangools.com/siteprofiler/get-top-content) · Same job: [Ahrefs](https://docs.webrouter.net/data-apis/ahrefs.md#ahrefs-top-pages), [Majestic](https://docs.webrouter.net/data-apis/majestic.md#majestic-domain-top-pages), [Moz](https://docs.webrouter.net/data-apis/moz.md#moz-links-top-pages), [SpyFu](https://docs.webrouter.net/data-apis/spyfu.md#spyfu-seo-top-pages)

```python Python theme={null}
router.call_data_api("mangools.site.top_content", {'url': 'example.com'})
```

```text MCP theme={null}
call_data_api(endpoint="mangools.site.top_content", params={"url": "example.com"})
```

> [!NOTE]
>
> * Needs a site.overview lookup of the same url in the last 24 hours, else 429 Not in history.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.