{"checked":2,"ok":1,"broken":1,"results":[{"url":"https://example.com","status":200,"ok":true,"final_url":"https://example.com/","ms":98},{"url":"https://example.com/this-page-does-not-exist","status":404,"ok":false,"ms":199}]}
curl --location --request POST 'https://zylalabs.com/api/13169/bulk+link+status+checker+api/26715/check+a+list+of+addresses' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"urls": ["https://example.com", "https://example.com/this-page-does-not-exist"]}'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 Bulk Link Status Checker API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
领先企业的信赖之选
Find dead links before your visitors do. Send a list of addresses, or point the page mode at any public page and it extracts and tests the links for you.
Useful for scheduled link audits on blogs and documentation, validating outbound links before publishing, monitoring partner links, and release checks on landing pages.
此端点返回链接检查过程的摘要,包括检查的链接、正常链接和损坏链接的计数。它还提供每个地址的详细结果,例如状态码、重定向后的最终 URL、链接是否有效以及响应时间(毫秒)
The key fields in the response include "checked" (total links checked), "ok" (number of working links), "broken" (number of broken links), and "results" (an array containing details for each URL, such as "url," "status," "ok," "final_url," and "ms").
The response data is structured as a JSON object. It contains summary fields at the top level, followed by a "results" array that holds individual link details, allowing users to easily parse and analyze the status of each link.
该端点提供有关每个链接状态的信息,包括HTTP状态代码、链接是否正常、经过重定向后的最终URL、重定向次数以及检查每个链接的响应时间
Users can customize their requests by providing a list of up to fifty URLs in the POST request body. This allows for targeted checks on specific links or pages, enabling tailored audits based on user needs.
典型的用例包括为博客进行定期链接审计 在发布内容之前验证出站链接 监控合作伙伴链接的可靠性 以及对着陆页面进行发布检查以确保所有链接都是正常的
Data accuracy is maintained through smart checking techniques, which include light initial checks followed by automatic retries for rejected requests. This ensures that transient issues do not lead to incorrect assessments of link status.
用户可以通过分析“结果”数组来利用返回的数据,以识别损坏的链接、评估重定向链和监测响应时间。这些信息可以为链接维护和内容更新的决策提供参考