{"status":"success","url":"http://zylalabs.com/","destinationStatusCode":200,"destinationUrl":"https://zylalabs.com/","numberOfRedirects":1,"totalLatency":114,"chain":[{"url":"http://zylalabs.com/","statusCode":301,"statusMessage":"Moved Permanently","latency":23,"redirectTo":"https://zylalabs.com/"},{"url":"https://zylalabs.com/","statusCode":200,"statusMessage":"OK","latency":114}]}
curl --location --request GET 'https://zylalabs.com/api/10246/redirection+api/19753/check?url=http://zylalabs.com' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The Check URL for Redirects endpoint returns detailed information about the redirect chain for a specified URL. This includes the final destination URL, HTTP status codes for each redirect, and the sequence of redirects encountered.
Key fields in the response data include "final_url" (the ultimate destination), "status_codes" (HTTP status codes for each redirect), and "redirect_chain" (an array showing the sequence of URLs followed).
The response data is structured in a JSON format, with a clear hierarchy. It typically includes a main object containing fields like "final_url," "status_codes," and "redirect_chain," making it easy to parse and utilize.
Users can customize their requests using parameters such as "url" (the URL to check), "user_agent" (to simulate different browsers), and "ip" (to specify a particular IP address for the request).
The data is sourced from real-time web requests made to the specified URLs. This ensures that the redirect information is current and reflects the latest changes on the web.
Data accuracy is maintained through automated checks and validations during the redirect tracking process. The API employs enterprise-grade infrastructure to ensure reliable and consistent results.
Typical use cases include tracking affiliate link redirections, monitoring competitor redirect chains, and verifying SEO redirects. This data is essential for digital marketers and SEO professionals to optimize their strategies.
If the response contains partial or empty results, users should check the provided URL for correctness and ensure it is accessible. Additionally, consider retrying the request with different parameters or user agents to gather more data.
The Check URL for Redirects endpoint provides information about the redirect chain, including the final destination URL, HTTP status codes for each redirect, and the sequence of URLs followed. It also includes details on the user agent used and the IP address from which the request was made.
Users can customize requests by specifying parameters such as "url" (the URL to check), "user_agent" (to simulate different browsers), and "ip" (to use a specific IP address). This allows for tailored analysis based on different scenarios.
Accepted parameter values include any valid URL for the "url" parameter, common user agent strings for "user_agent," and valid IP addresses for the "ip" parameter. This flexibility enables users to test various conditions and environments.
In the response, "final_url" indicates the ultimate destination of the redirect, "status_codes" lists the HTTP status codes encountered during the redirect chain, and "redirect_chain" provides an array of URLs that were followed, allowing for detailed analysis of the redirect process.
Data accuracy is ensured through automated validation checks during the redirect tracking process. The API leverages enterprise-grade infrastructure to monitor and verify the integrity of the data collected from real-time web requests.
Users can analyze the redirect chain to identify potential SEO issues, monitor competitor strategies, or verify the functionality of marketing links. The structured JSON response allows for easy integration into analytics tools or custom applications for deeper insights.
The data covers all publicly accessible URLs across the web, regardless of region or category. This broad coverage allows users to analyze redirects from various industries, making it suitable for global SEO and marketing strategies.
Users can expect a consistent response structure with fields like "final_url," "status_codes," and "redirect_chain." Typically, the redirect chain may include multiple entries, reflecting various HTTP status codes, such as 301 or 302, indicating different types of redirects.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
2,670ms
Service Level:
100%
Response Time:
119ms
Service Level:
100%
Response Time:
3,264ms
Service Level:
100%
Response Time:
3,038ms
Service Level:
100%
Response Time:
84ms
Service Level:
100%
Response Time:
19,536ms
Service Level:
100%
Response Time:
19,536ms
Service Level:
100%
Response Time:
68ms
Service Level:
100%
Response Time:
193ms
Service Level:
100%
Response Time:
743ms
Service Level:
100%
Response Time:
594ms
Service Level:
100%
Response Time:
630ms
Service Level:
100%
Response Time:
603ms
Service Level:
100%
Response Time:
1,345ms
Service Level:
100%
Response Time:
147ms
Service Level:
100%
Response Time:
285ms
Service Level:
100%
Response Time:
1,321ms
Service Level:
100%
Response Time:
114ms
Service Level:
100%
Response Time:
1,642ms
Service Level:
100%
Response Time:
10,785ms