Moz API
Moz provides comprehensive SEO tools and analytics that help businesses enhance their website's performance in search engine results pages through link analysis, keyword research, domain authority metrics, and competitive intelligence for digital marketing optimization.
Power end-to-end data operations for your Moz API API with Nexla. Our bi-directional Moz API connector is purpose-built for Moz API, making it simple to ingest data, sync it across systems, and deliver it anywhere — all with no coding required. Nexla turns API-sourced data into ready-to-use, reusable data products and makes it easy to send data to Moz API or any other destination. With comprehensive monitoring, lineage tracking, and access controls, Nexla keeps your Moz API workflows fast, secure, and fully governed.
Features
Type: API
- Seamless API Integration: Connect to any endpoint as source or destination without coding, with automatic data product creation
- Visual Composition & Chaining: Build complex integrations using visual templates, chain API calls, and compose workflows with data validation and filtering
- API Proxy: Expose curated slices of your data securely with a secure and customizable API proxy that validates and transforms data on the fly
- Request optimization with intelligent batching, retry, and caching to minimize API calls and costs
Prerequisites
Before creating a Moz API credential, you need to obtain your Access ID and Secret Key from your Moz account. Moz uses Basic Authentication over HTTPS for all API requests, where the Access ID is used as the username and the Secret Key is used as the password.
To obtain your Moz API credentials, follow these steps:
-
Sign in to your Moz account using your administrator credentials.
-
Navigate to your account settings or dashboard in the Moz interface.
-
Look for the API or API Access section in your account settings or dashboard.
-
If you don't have API credentials yet, look for the option to generate or view your Access ID and Secret Key.
-
Your Access ID will be displayed in the API section. This is a unique identifier that serves as your username for API authentication.
-
Your Secret Key will be displayed in the API section. This is a secret value that serves as your password for API authentication. Copy the Secret Key immediately, as it may not be accessible again after you navigate away from the page.
-
Store both the Access ID and Secret Key securely, as you will need them to configure your Nexla credential. The Secret Key is sensitive information and should be kept confidential.
The Access ID is used as the username and the Secret Key is used as the password in Basic Authentication for all API requests to the Moz API. The credentials authenticate your requests and grant access to Moz resources based on your account permissions. If your Secret Key is compromised, you should immediately regenerate it in your Moz account settings and update your credential. For detailed information about obtaining API credentials, API authentication, and available endpoints, refer to the Moz Links API documentation.
Authenticate
Credentials required
| Field | Required | Secret | Description |
|---|---|---|---|
| Username | Yes | No | Use your Access ID |
| Password | Yes | Yes | Use your Secret Key |
Create a credential in Nexla
- To create a new Moz API credential, after selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.
New Credential Overlay – Moz API

-
Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.
-
Enter your Moz Access ID in the Username field. This is the Access ID you obtained from your Moz account settings (API or API Access section). The Access ID is used as the username in Basic Authentication for all API requests to the Moz API.
-
Enter your Moz Secret Key in the Password field. This is the Secret Key you obtained from your Moz account settings (API or API Access section). The Secret Key is used as the password in Basic Authentication for all API requests to the Moz API. The Secret Key is sensitive information and must be kept confidential.
Your Moz Access ID and Secret Key can be found in your Moz account settings under the API or API Access section. The Access ID is used as the username and the Secret Key is used as the password in Basic Authentication for all API requests to the Moz API.
If your Secret Key is compromised, you should immediately regenerate it in your Moz account settings and update your credential. The Secret Key provides access to your Moz account data and should be treated as sensitive information. Keep your Secret Key secure and do not share it publicly.
For detailed information about obtaining API credentials, API authentication, and available endpoints, see the Moz Links API documentation.
-
Once all of the relevant steps in the above sections have been completed, click the Save button at the bottom of the overlay to save the configured credential. The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation and can be selected for use with a new data source or destination.
Use as a data source
To create a new data flow, navigate to the Integrate section, and click the New Data Flow button. Select the Moz API connector tile from the list of available connectors, then select the credential that will be used to connect to your Moz account, and click Next; or, create a new Moz API credential for use in this flow.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure data sources to ingest data from common Moz API endpoints. Each template is designed specifically for the corresponding Moz API endpoint, making data source setup easy and efficient. Select the endpoint from which this source will fetch data from the Endpoint pulldown menu. Available endpoint templates are listed in the expandable boxes below.
Once the selected endpoint template has been configured, click the Test button to the right of the endpoint selection menu to retrieve a sample of the data that will be fetched. Sample data will be displayed in the Endpoint Test Result panel on the right, allowing you to verify that the source is configured correctly before saving.
Manual configuration
Moz API data sources can also be manually configured to ingest data from any valid Moz API endpoint not covered by the pre-built templates, including sources that use chained API calls or custom query parameters. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, endpoint URL, date/time and lookup macros, path to data, metadata, and request headers. Moz API typically uses the GET method.
Moz API endpoint URLs use the base URL lsapi.seomoz.com and API version /v2/ (for example, https://lsapi.seomoz.com/v2/global_top_pages). For the Response Data Path, use $.results[*] to extract items from the results array in the response. Moz API uses token-based pagination with next_token for some endpoints; when configuring pagination, specify next_token as the token parameter name and $.next_token as the response path to the next page token.
Once all of the relevant steps in the above sections have been completed, click the Next button to proceed with the rest of the data flow configuration, or click Save to save the data source configuration for later use.