Moz API icon

Moz API

Interact with Moz Data API for SEO metrics and backlink analysis

Actions8

Site Metrics → Get Multiple

AI-generated

Summary

Retrieve SEO metrics for multiple domains or URLs in a single request, specifying the scope for each query.

Inputs

  • Targets (required) — Comma-separated list of domains or URLs to analyze for SEO metrics.
  • Scope — Defines the scope to parse each query for all targets. Options are domain, subdomain, subfolder, or URL. Defaults to domain.

Output shape

A list of JSON objects, each representing the SEO metrics data for one of the specified targets.

Returns multiple entries, one per target. On error with continueOnFail enabled, returns an error object for the failed item. Otherwise throws an error.

Examples

Example 1: Get metrics for multiple domains

Set 'Targets' to 'moz.com,ahrefs.com' and 'Scope' to 'domain' to retrieve metrics for these two domains.

Discussion