---
type: "firecrawl-provider"
description: "Domain Authority, backlinks, linking domains, anchors, ranking keywords, and keyword metrics from Moz."
use_when: "Domain Authority, Page Authority, Spam Score, Brand Authority, ranking keywords, and top pages for a domain or URL.\n\nLinks, linking root domains, and anchor texts pointing at a domain or URL, from the Moz link index.\n\nSearch volume, difficulty, organic CTR, priority, and intent for one keyword."
categories: "Marketing"
capabilities: 9
pricing: "1–10 credits per billed unit; see each capability for its unit and maximum."
---
# Moz on Firecrawl Alexandria

Domain Authority, backlinks, linking domains, anchors, ranking keywords, and keyword metrics from Moz.

- Categories: Marketing
- Category index: [Marketing category](https://alexandria.firecrawl.dev/agents/categories/marketing)
- Provider key: `moz`
- Access: Firecrawl credits
- Cost (Site metrics): 10 credits per Moz row
- Cost (Site metrics batch): 10 credits per Moz row
- Cost (Ranking keywords): 1 credit per Moz row
- Cost (Top pages): 3 credits per Moz row
- Cost (Brand Authority): 10 credits per Moz row
- Cost (Backlinks): 3 credits per Moz row
- Cost (Linking domains): 3 credits per Moz row
- Cost (Anchor texts): 10 credits per Moz row
- Cost (Keyword metrics): 10 credits per Moz row

## More

- [Human guide](https://www.firecrawl.dev/app/alexandria/moz)
- [OpenAPI spec](https://alexandria.firecrawl.dev/agents/providers/moz/openapi.json)

## Capabilities

- [Site metrics](https://alexandria.firecrawl.dev/agents/providers/moz/domains/metrics): site_metrics holds authority scores and link counts at page, subdomain, and root-domain level. site_query echoes the parsed target. An unknown target is a 404 and costs nothing.
- [Site metrics batch](https://alexandria.firecrawl.dev/agents/providers/moz/domains/metrics-batch): results_by_site lists { site_query, site_metrics } per target. errors_by_site lists targets that failed, each with an error object.
- [Ranking keywords](https://alexandria.firecrawl.dev/agents/providers/moz/domains/ranking-keywords): ranking_keywords lists keyword, ranking_page, rank_position, difficulty, and volume. target_query echoes the parsed target and page echoes n and limit.
- [Top pages](https://alexandria.firecrawl.dev/agents/providers/moz/domains/top-pages): top_pages lists each page with title, http_code, page_authority, and link counts. offset.token continues the list.
- [Brand Authority](https://alexandria.firecrawl.dev/agents/providers/moz/domains/brand-authority): site_metrics.brand_authority_score is the score. site_query echoes the parsed domain. An unknown domain is a 404 and costs nothing.
- [Backlinks](https://alexandria.firecrawl.dev/agents/providers/moz/backlinks/list): links lists source_site_metrics, target_site_metrics, anchor_text, date_first_seen, date_last_seen, date_disappeared, and nofollow, redirect, and canonical flags. offset.token continues the list.
- [Linking domains](https://alexandria.firecrawl.dev/agents/providers/moz/backlinks/linking-domains): linking_domains lists site_metrics for each linking root domain, link_propensity, and targeted_pages counts. offset.token continues the list.
- [Anchor texts](https://alexandria.firecrawl.dev/agents/providers/moz/backlinks/anchors): anchor_texts lists text, external_root_domains, and external_pages. offset.token continues the list.
- [Keyword metrics](https://alexandria.firecrawl.dev/agents/providers/moz/keywords/metrics): keyword_metrics holds volume, difficulty, organic_ctr, priority, and intent when asked for. A null value is not billed. serp_query echoes the query.

## 1. Choose this provider when

Domain Authority, Page Authority, Spam Score, Brand Authority, ranking keywords, and top pages for a domain or URL.

Links, linking root domains, and anchor texts pointing at a domain or URL, from the Moz link index.

Search volume, difficulty, organic CTR, priority, and intent for one keyword.

## 2. Minimal request

Call `POST https://api.firecrawl.dev/v2/scrape` with `{ alexandria: { provider, capability, options } }`. For a batch, send `{ alexandria: [...] }` with up to 10 calls.

```json
{
  "provider": "moz",
  "capability": "domains/metrics",
  "options": {
    "query": "<query>",
    "scope": "domain"
  }
}
```

## 3. Add provider options

Use only the options needed for the task:

- `query` (string, required): Target URL or host, for example moz.com or https://moz.com/blog. Sent as site_query.query. Example: `<query>`
- `scope` (string): How Moz parses query: domain, subdomain, subfolder, url. A broader scope than the URL widens it, so moz.com/blog with domain reads moz.com. Defaults to domain. Example: `domain`

## 4. Request through your preferred interface

### JavaScript

```javascript
const result = await firecrawl.scrape({
  alexandria: {
    provider: "moz",
    capability: "domains/metrics",
    options: {
      query: "<query>",
      scope: "domain",
    },
  },
});
```

### Python

```python
result = firecrawl.scrape_alexandria({
  "provider": "moz",
  "capability": "domains/metrics",
  "options": {
    "query": "<query>",
    "scope": "domain"
  }
})
```

### cURL

```sh
curl https://api.firecrawl.dev/v2/scrape \
  -H "Authorization: Bearer $FIRECRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "alexandria": {
    "provider": "moz",
    "capability": "domains/metrics",
    "options": {
      "query": "<query>",
      "scope": "domain"
    }
  }
}'
```

### CLI

```sh
firecrawl scrape 'moz/domains/metrics' \
  --options '{"query":"<query>","scope":"domain"}'
```


### MCP

Call the FCX MCP retrieve tool with this object:

```json
{
  "provider": "moz",
  "capability": "domains/metrics",
  "options": {
    "query": "<query>",
    "scope": "domain"
  }
}
```

Ask for only the returned fields needed by the task.

## 5. Full request shape

```json
{
  "provider": "moz",
  "capability": "domains/metrics",
  "options": {
    "query": "<query>",
    "scope": "domain"
  }
}
```

## 6. Response data

The response includes `success`, `provider`, `capability`, `creditsCost` and `data`. This example shows the provider payload in `data`:

```json
{
  "site_metrics": {
    "page": "<page>",
    "root_domain": "<root_domain>",
    "title": "<title>",
    "domain_authority": 0,
    "page_authority": 0,
    "spam_score": 0,
    "root_domains_to_root_domain": 0,
    "external_pages_to_root_domain": 0,
    "last_crawled": "<last_crawled>"
  }
}
```

## API reference-derived contract

The following capability contract is generated from the same normalized Alexandria API reference exposed in the API spec.

### Site metrics

- Capability: `domains/metrics`
- Description: site_metrics holds authority scores and link counts at page, subdomain, and root-domain level. site_query echoes the parsed target. An unknown target is a 404 and costs nothing.
- Instructions: Domain Authority, Page Authority, Spam Score, and link counts for one domain, subdomain, folder, or page. 10 Firecrawl credits per call (one Moz row). Use domains/metrics-batch for several targets.
- Cost: 10 credits per Moz row
- Capability file: [Site metrics](https://alexandria.firecrawl.dev/agents/providers/moz/domains/metrics)

Accepted options:
- `query` (string, required): Target URL or host, for example moz.com or https://moz.com/blog. Sent as site_query.query. Example: `<query>`
- `scope` (string): How Moz parses query: domain, subdomain, subfolder, url. A broader scope than the URL widens it, so moz.com/blog with domain reads moz.com. Defaults to domain. Example: `domain`

Response schema example:
```json
{
  "site_metrics": {
    "page": "<page>",
    "root_domain": "<root_domain>",
    "title": "<title>",
    "domain_authority": 0,
    "page_authority": 0,
    "spam_score": 0,
    "root_domains_to_root_domain": 0,
    "external_pages_to_root_domain": 0,
    "last_crawled": "<last_crawled>"
  }
}
```

### Site metrics batch

- Capability: `domains/metrics-batch`
- Description: results_by_site lists { site_query, site_metrics } per target. errors_by_site lists targets that failed, each with an error object.
- Instructions: Domain Authority, Page Authority, Spam Score, and link counts for up to 15 targets in one call. About 6.67 credits per returned site, 10 minimum, 100 for 15. A target Moz cannot read lands in errors_by_site and costs nothing.
- Cost: 10 credits per Moz row
- Capability file: [Site metrics batch](https://alexandria.firecrawl.dev/agents/providers/moz/domains/metrics-batch)

Accepted options:
- `site_queries` (object[], required): Targets as { query, scope } objects, scope one of domain, subdomain, subfolder, url. 1 to 15. Moz allows 50; this connector stops at 15 so a call stays within 100 credits. Example: `[]`

Response schema example:
```json
{
  "results_by_site": [
    {
      "site_query": {},
      "site_metrics": {}
    }
  ]
}
```

### Ranking keywords

- Capability: `domains/ranking-keywords`
- Description: ranking_keywords lists keyword, ranking_page, rank_position, difficulty, and volume. target_query echoes the parsed target and page echoes n and limit.
- Instructions: Keywords a domain, subdomain, folder, or page ranks for in Google's top 50, with position, ranking page, difficulty, and volume. About 6.67 Firecrawl credits per returned row, 10 minimum, 100 at the 15-row cap. An empty page costs nothing. Use page for the next slice.
- Cost: 1 credit per Moz row
- Capability file: [Ranking keywords](https://alexandria.firecrawl.dev/agents/providers/moz/domains/ranking-keywords)

Accepted options:
- `query` (string, required): Target URL or host, for example moz.com or https://moz.com/blog. Sent as site_query.query. Example: `<query>`
- `scope` (string): How Moz parses query: domain, subdomain, subfolder, url. A broader scope than the URL widens it, so moz.com/blog with domain reads moz.com. Defaults to domain. Example: `domain`
- `locale` (string): Google market: en-US, en-GB, en-CA, en-AU. Sent as target_query.locale. Defaults to en-US. Example: `en-US`
- `sort` (string): Order: rank, alpha, difficulty, or volume. Sent as options.sort. Example: `rank`
- `page` (number): Page number, from 0. Sent as page.n. Example: `0`
- `limit` (number): Rows to return, 1 to 15. Moz allows up to 500 (default 25); this connector stops at 15 so a call stays within 100 Firecrawl credits. Omitted, 15 is sent. Example: `15`

Response schema example:
```json
{
  "ranking_keywords": [
    {
      "keyword": "<keyword>",
      "ranking_page": "<ranking_page>",
      "rank_position": 0,
      "difficulty": 0,
      "volume": 0
    }
  ]
}
```

### Top pages

- Capability: `domains/top-pages`
- Description: top_pages lists each page with title, http_code, page_authority, and link counts. offset.token continues the list.
- Instructions: The strongest pages on a domain or subdomain by Page Authority or linking domains. About 6.67 Firecrawl credits per returned row, 10 minimum, 100 at the 15-row cap. An empty page costs nothing. Use token for the next page.
- Cost: 3 credits per Moz row
- Capability file: [Top pages](https://alexandria.firecrawl.dev/agents/providers/moz/domains/top-pages)

Accepted options:
- `query` (string, required): Target URL or host, for example moz.com or https://moz.com/blog. Sent as site_query.query. Example: `<query>`
- `scope` (string): How Moz parses query: domain, subdomain. A broader scope than the URL widens it, so moz.com/blog with domain reads moz.com. Defaults to domain. Example: `domain`
- `filter` (string): HTTP status at the last crawl: all, status_200, status_301, status_302, status_4xx, or status_5xx. Sent as options.filter. Moz defaults to all. Example: `all`
- `sort` (string): Order, descending: page_authority, root_domains_to_page, or external_pages_to_page. Sent as options.sort. Moz defaults to page_authority. Example: `page_authority`
- `token` (string): offset.token from the previous page. Omit it for the first page. Example: `<token>`
- `limit` (number): Rows to return, 1 to 15. Moz allows up to 50 (default 25); this connector stops at 15 so a call stays within 100 Firecrawl credits. Omitted, 15 is sent. Example: `15`

Response schema example:
```json
{
  "top_pages": [
    {
      "page": "<page>",
      "title": "<title>",
      "http_code": 0,
      "page_authority": 0,
      "root_domains_to_page": 0,
      "external_pages_to_page": 0,
      "last_crawled": "<last_crawled>"
    }
  ]
}
```

### Brand Authority

- Capability: `domains/brand-authority`
- Description: site_metrics.brand_authority_score is the score. site_query echoes the parsed domain. An unknown domain is a 404 and costs nothing.
- Instructions: Moz Brand Authority score (1 to 100) for a domain: brand strength from branded search demand. 10 Firecrawl credits per call (one Moz row).
- Cost: 10 credits per Moz row
- Capability file: [Brand Authority](https://alexandria.firecrawl.dev/agents/providers/moz/domains/brand-authority)

Accepted options:
- `query` (string, required): Domain or URL. Brand Authority is read at domain scope only, which is sent for you. Example: `<query>`

Response schema example:
```json
{
  "site_metrics": {
    "brand_authority_score": 0
  }
}
```

### Backlinks

- Capability: `backlinks/list`
- Description: links lists source_site_metrics, target_site_metrics, anchor_text, date_first_seen, date_last_seen, date_disappeared, and nofollow, redirect, and canonical flags. offset.token continues the list.
- Instructions: Individual backlinks pointing at a domain, subdomain, folder, or page, with source and target metrics, anchor text, and first and last seen dates. About 6.67 Firecrawl credits per returned row, 10 minimum, 100 at the 15-row cap. An empty page costs nothing. Use token for the next page.
- Cost: 3 credits per Moz row
- Capability file: [Backlinks](https://alexandria.firecrawl.dev/agents/providers/moz/backlinks/list)

Accepted options:
- `query` (string, required): Target URL or host, for example moz.com or https://moz.com/blog. Sent as site_query.query. Example: `<query>`
- `scope` (string): How Moz parses query: domain, subdomain, subfolder, url. A broader scope than the URL widens it, so moz.com/blog with domain reads moz.com. Defaults to domain. Example: `domain`
- `sort` (string): Order: root_domains_to_source_root_domain, root_domains_to_source_page, source_page_authority, source_domain_authority, source_link_propensity, source_spam_score. Sent as options.sort. Moz defaults to source_page_authority. Example: `root_domains_to_source_root_domain`
- `filters` (string[]): Only links matching all of: external, follow, nofollow, deleted, not_deleted, redirect, not_redirect, rel_canonical, not_rel_canonical, via_redirect, not_via_redirect, via_rel_canonical, not_via_rel_canonical, gained_last_60_days, lost_last_60_days. Sent as options.filters. Example: `[]`
- `token` (string): offset.token from the previous page. Omit it for the first page. Example: `<token>`
- `limit` (number): Rows to return, 1 to 15. Moz allows up to 50 (default 25); this connector stops at 15 so a call stays within 100 Firecrawl credits. Omitted, 15 is sent. Example: `15`

Response schema example:
```json
{
  "links": [
    {
      "source_site_metrics": {},
      "target_site_metrics": {},
      "anchor_text": "<anchor_text>",
      "date_first_seen": "<date_first_seen>",
      "date_last_seen": "<date_last_seen>",
      "date_disappeared": "<date_disappeared>",
      "nofollow": false,
      "redirect": false
    }
  ]
}
```

### Linking domains

- Capability: `backlinks/linking-domains`
- Description: linking_domains lists site_metrics for each linking root domain, link_propensity, and targeted_pages counts. offset.token continues the list.
- Instructions: Root domains linking to a target, with each domain's metrics and how many of its pages link. About 6.67 Firecrawl credits per returned row, 10 minimum, 100 at the 15-row cap. An empty page costs nothing. Use token for the next page.
- Cost: 3 credits per Moz row
- Capability file: [Linking domains](https://alexandria.firecrawl.dev/agents/providers/moz/backlinks/linking-domains)

Accepted options:
- `query` (string, required): Target URL or host, for example moz.com or https://moz.com/blog. Sent as site_query.query. Example: `<query>`
- `scope` (string): How Moz parses query: domain, subdomain, subfolder, url. A broader scope than the URL widens it, so moz.com/blog with domain reads moz.com. Defaults to domain. Example: `domain`
- `sort` (string): Order, descending: source_domain_authority, source_link_propensity, source_spam_score. Sent as options.sort. Moz defaults to source_domain_authority. Example: `source_domain_authority`
- `filters` (string[]): Only linking domains matching all of: external, follow, nofollow, deleted, not_deleted. Sent as options.filters. Example: `[]`
- `token` (string): offset.token from the previous page. Omit it for the first page. Example: `<token>`
- `limit` (number): Rows to return, 1 to 15. Moz allows up to 50 (default 25); this connector stops at 15 so a call stays within 100 Firecrawl credits. Omitted, 15 is sent. Example: `15`

Response schema example:
```json
{
  "linking_domains": [
    {
      "site_metrics": {},
      "link_propensity": 0,
      "targeted_pages": 0,
      "targeted_nofollow_pages": 0
    }
  ]
}
```

### Anchor texts

- Capability: `backlinks/anchors`
- Description: anchor_texts lists text, external_root_domains, and external_pages. offset.token continues the list.
- Instructions: Anchor texts other sites use when linking to a target, with how many root domains and pages use each. About 6.67 Firecrawl credits per returned row, 10 minimum, 100 at the 15-row cap. An empty page costs nothing. Use token for the next page.
- Cost: 10 credits per Moz row
- Capability file: [Anchor texts](https://alexandria.firecrawl.dev/agents/providers/moz/backlinks/anchors)

Accepted options:
- `query` (string, required): Target URL or host, for example moz.com or https://moz.com/blog. Sent as site_query.query. Example: `<query>`
- `scope` (string): How Moz parses query: domain, subdomain, subfolder, url. A broader scope than the URL widens it, so moz.com/blog with domain reads moz.com. Defaults to domain. Example: `domain`
- `token` (string): offset.token from the previous page. Omit it for the first page. Example: `<token>`
- `limit` (number): Rows to return, 1 to 15. Moz allows up to 50 (default 25); this connector stops at 15 so a call stays within 100 Firecrawl credits. Omitted, 15 is sent. Example: `15`

Response schema example:
```json
{
  "anchor_texts": [
    {
      "text": "<text>",
      "external_root_domains": 0,
      "external_pages": 0
    }
  ]
}
```

### Keyword metrics

- Capability: `keywords/metrics`
- Description: keyword_metrics holds volume, difficulty, organic_ctr, priority, and intent when asked for. A null value is not billed. serp_query echoes the query.
- Instructions: Monthly search volume, ranking difficulty, organic CTR, priority, and optionally search intent for one keyword. Moz bills one row per value it returns: 27 Firecrawl credits for the four metrics, 34 with intent, less when values are null.
- Cost: 10 credits per Moz row
- Capability file: [Keyword metrics](https://alexandria.firecrawl.dev/agents/providers/moz/keywords/metrics)

Accepted options:
- `keyword` (string, required): Keyword or phrase, 1 to 255 characters. Sent as serp_query.keyword. Example: `<keyword>`
- `locale` (string): Google hl-gl pair such as en-US or en-GB. Sent as serp_query.locale. Defaults to en-US. Example: `en-US`
- `device` (string): desktop, mobile_android, or mobile_ios. Defaults to desktop. Example: `desktop`
- `engine` (string): google, bing, or yahoo. Defaults to google. Example: `google`
- `vicinity` (string): Place to search from, for example New York, NY. Omitted means national. Example: `<vicinity>`
- `include_intent` (boolean): Also return search intent. Adds at most one row. Sent as options.include_intent. Example: `false`
- `max_age` (number): Oldest cached metrics to accept, in seconds, at least 86400. Moz defaults to one year. Sent as options.max_age. Example: `86400`

Response schema example:
```json
{
  "keyword_metrics": {
    "volume": 0,
    "difficulty": 0,
    "organic_ctr": 0,
    "priority": 0,
    "intent": {}
  }
}
```
