-
SEO Learning Center
Broaden your SEO knowledge with resources for all skill levels.
-
The Beginner's Guide to SEO
If you're brand new to SEO, start here.
-
SEO Q&A
Get answers from the Moz Community.
-
Free Downloads and More
Quick access to whitepapers, reports, guides, webinars, and case studies.
-
Help Hub
Learn how to use Moz products.
-
Community & Events
Connect with over 600k online marketers.
-
SEO Training
Instructor-led classes and seminars
DataSiteRedirectFetch
Use this endpoint to see the final redirect target of a page after following known redirects in the index. This data can be helpful for tasks like technical audits, checking that redirects were implemented correctly after domain migrations or page moves.
JSON-RPC Method:
data.site.redirect.fetch
site_query
object
A SiteQuery provides a target URL along with a scope to define how the query is parsed.
1{
2 "site_query": {
3 "query": "seomoz.org/blog",
4 "scope": "url"
5 }
6}
site_query
object
Represents a parsed site query.
destination
string | null
If the provided site query redirects, this will be the final destination after following it and any subsequent redirects. If it does not redirect, it will be null.
1{
2 "site_query": {
3 "query": "https://seomoz.org/blog",
4 "scope": "url",
5 "original_site_query": {
6 "query": "seomoz.org/blog",
7 "scope": "url"
8 },
9 "site_query_suggestion": null
10 },
11 "destination": "moz.com/blog"
12}
Uses one row per call.
api.limits.data.rows