
Connectors / Marketing · HTTP Connector
Automate Moz with Tray.ai
Generate a SERP and create a location in Moz, and start a workflow when Moz sends “Location created”.
What can you do with Moz on Tray.ai?
Moz provides SEO data and tools, including link metrics, domain authority, keyword research, search result data, and local business listing management. Tray.ai connects to Moz through the HTTP Connector, so your workflows can call the Moz API alongside the rest of your stack.
- When Moz sends “Location closed”, mark the store as closed in your store database so your website stops listing it.
- Fetch keyword difficulty for new topic ideas in your content planner before writers pick them up.
- Each month, fetch site metrics for your domain and post the authority score to your marketing team's chat.
- Create a location in Moz whenever a new branch is added to your store database, so local listings go live faster.
- Connects through
- HTTP Connector
- Authentication
- An API key in a request header
- Base URL
- https://api.moz.com/jsonrpc
Set it up
Connect Moz to Tray.ai
Each step uses Moz's own API details, from its documentation.
Step 1
Save Moz's API key
Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.
Step 2
Point the HTTP Client at the API
Add an HTTP Client step and use https://api.moz.com/jsonrpc as the base URL. Or paste a cURL example from Moz's API docs, and Tray.ai fills in the method, URL, and headers.
Step 3
Start with “Fetch site metrics”
It's one of 19 documented actions, under Site metrics. The response comes back as data the next step can map into your other apps.
Step 4
Start workflows from Moz events
Give Moz the URL of a Tray.ai webhook trigger. “Location created” can then start a workflow, and so can 3 other events.
Workflows to build with Moz
Each one uses actions and events from Moz's own API documentation.
Track Moz domain metrics weekly in Google Sheets
When
On a schedule
Then
- Fetch site metrics in Moz for your domain
- Fetch brand authority in Moz
- Add a row to the SEO tracker in Google Sheets
With Google Sheets
Add new Salesforce store locations to Moz
When
A store location is created in Salesforce
Then
- Create a location in Moz with the address and hours
- Note the Moz location on the store record in Salesforce
With Salesforce
Load Moz keyword data into BigQuery
When
On a schedule
Then
- List ranking keywords in Moz
- Fetch keyword difficulty for each keyword
- Load the results into Google BigQuery
With Google BigQuery
Apps you can build on Moz data
Internal tools your team can build with an AI assistant, each one using Moz calls from its API documentation.
Backlink monitor
Shows linking domains and site metric history for the company's site and its competitors.
Keyword research tool
Lets a marketer look up keyword metrics, difficulty and related keywords in one view.
Local listing manager
Lists business locations and lets the team update or close a listing.
Give your AI agents Moz tools
Build an MCP server on Moz in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works
- Fetch site metrics
- List links
- Fetch keyword metrics
- Fetch a SERP
- Create a location
- Fetch brand authority
- Fetch site metric histories
- Fetch site competitors
What the Moz API covers
5 resources and 19 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.
Site metrics
- Fetch site metrics
- Fetch brand authority
- Fetch site metric histories
- Fetch site competitors
Links
- List links
- Filter links by domain
- List linking domains
- Fetch link intersects
Keywords
- Fetch keyword metrics
- Fetch keyword difficulty
- Fetch search intent
- List related keywords
Search results
- Fetch a SERP
- Generate a SERP
- List ranking keywords
Locations
- Create a location
- Update a location
- List locations
- Close a location
Events Moz can send to a Tray.ai webhook trigger
- Location created
- Location updated
- Location canceled
- Location closed
Checked against Moz's own documentation on 2026-11-07
How Tray.ai makes this work
Moz plugs into the whole Tray.ai platform
Intelligent Integration
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn more →Agent Builder
Build AI agents that read, write, and take action in Moz — with guardrails, audit, and human-in-the-loop.
Learn more →Agent Gateway for MCP
Expose Moz actions as governed MCP tools — observable, rate-limited, authenticated.
Learn more →Tray Helix
Build apps on Moz data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn more →More marketing apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every marketing connector →
Frequently asked questions
What can a Tray.ai workflow do in Moz?
+
The Moz API documents 19 actions across 5 resources (Site metrics, Links, Keywords, Search results, Locations). For example: Fetch site metrics; List links; Fetch keyword metrics. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Moz?
+
The Moz API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
Which Moz events can start a Tray.ai workflow?
+
Moz sends 4 events to a webhook URL, for example: Location created; Location updated; Location canceled; Location closed. A Tray.ai webhook trigger receives them and starts a workflow.
See Moz working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks — someone from our team will be in touch soon.