验证任何网页上的结构化数据标记,包括 JSON-LD Microdata 和 RDFa 检测 Schema.org 类型 检查错误 并返回详细的验证结果
验证架构标记 - 端点功能
| 对象 | 描述 |
|---|---|
url |
[必需] The url parameter |
{"url":"https://schema.org/","timestamp":"2026-04-08T15:00:30.140Z","summary":{"totalItems":1,"formats":{"jsonLd":1,"microdata":0,"rdfa":0},"errors":0,"warnings":0,"score":100,"grade":"A"},"items":[{"format":"json-ld","type":"WebSite","properties":{"url":"https://schema.org","name":"Schema.org","potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://schema.org/docs/search_results.html?q={query}"},"query-input":"required name=query"},"about":{"@type":"Project","name":"Schema.org Project","description":"Schema.org is a collaborative, community activity with a mission to create, maintain, and promote schemas for structured data on the Internet, on web pages, in email messages, and beyond.","logo":"https://schema.org/docs/schemaicon.png","sameAs":"https://github.com/schemaorg/schemaorg/","foundingDate":"2011-06-2","founder":[{"@type":"Corporation","name":"Google","url":"https://google.com"},{"@type":"Corporation","name":"Microsoft","url":"https://microsoft.com"},{"@type":"Corporation","name":"Yahoo","url":"https://yahoo.com"},{"@type":"Corporation","name":"Yandex","url":"https://yandex.com"}],"publishingPrinciples":"https://www.w3.org/community/about/process/cla/"},"author":{"@type":"Organization","name":"Schema.org Community Group","sameAs":"https://www.w3.org/community/schemaorg/"}},"raw":"{\n \"@context\": \"https://schema.org\",\n \"@type\": \"WebSite\",\n \"url\": \"https://schema.org\",\n \"name\": \"Schema.org\",\n \"potentialAction\": {\n \"@type\": \"SearchAction\",\n \"target\": {\n \"@type\": \"EntryPoint\",\n \"urlTemplate\": \"https://schema.org/docs/search_results.html?q={query}\"\n },\n \"query-input\": \"required name=query\"\n },\n \"about\": {\n \"@type\": \"Project\",\n \"name\": \"Schema.org Project\",\n \"description\": \"Schema.org is a collaborative, community activity with a mission to create, maintain, and promote schemas for structured data on the Internet, on web pages, in email messages, and beyond.\",\n \"logo\": \"https://schema.org/docs/schemaicon.png\",\n \"sameAs\": \"https://github.com/schemaorg/schemaorg/\",\n \"foundingDate\": \"2011-06-2\",\n \"founder\": [{\n \"@type\": \"Corporation\",\n \"name\": \"Google\",\n \"url\": \"https://g...","issues":[]}],"recommendations":["Consider adding BreadcrumbList markup to enable breadcrumb navigation in search results."]}
curl --location --request GET 'https://zylalabs.com/api/12321/schema+markup+validator+api/23140/validate+schema+markup?url=https://schema.org' --header 'Authorization: Bearer YOUR_API_KEY'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
The Schema Markup Validator API can validate structured data markup in JSON-LD, Microdata, and RDFa formats.
The API analyzes the structured data present in the provided web page and identifies the Schema.org types by parsing the markup and checking against the Schema.org vocabulary.
The API can be used by web developers and SEO professionals to ensure that their structured data is correctly implemented, improving search engine visibility and enhancing rich snippets in search results.
The API returns detailed validation results that include detected Schema.org types, any errors found in the markup, and suggestions for corrections.
You can integrate the API into your development workflow by making HTTP requests to validate structured data as part of your deployment process, ensuring that all web pages meet structured data standards before going live.
API返回结构化数据标记的验证结果,包括检测到的Schema.org类型、错误计数、警告计数以及指示标记整体质量的摘要分数
响应中的关键字段包括 "url"(验证的页面) "timestamp"(验证发生的时间) "summary"(总项目、错误、警告、分数和等级)以及 "items"(关于每种检测到的标记格式的详细信息)
响应采用JSON格式结构,顶级对象包含摘要和一个项目数组。每个项目详细说明页面上结构化数据的格式、类型和属性
该端点的主要参数是要验证的网页的“url” 用户可以通过指定不同的url来自定义请求以验证各种页面
用户可以分析“摘要”以快速概览验证结果,检查“错误”和“警告”以处理问题,并审查“项目”以获取有关检测到的Schema.org类型和属性的具体细节
典型的使用案例包括在网站上线之前验证结构化数据 解决标记问题 以及通过确保遵循Schema.org标准来优化SEO策略以提高搜索可见性
通过严格地将结构化数据与Schema.org词汇进行解析来保持数据的准确性,确保在验证结果中仅报告有效和认可的类型和属性
用户可以期待结果包括已验证的总项摘要 错误和警告的计数 以及格式的细分(例如 JSON-LD 微数据)与每个检测到的标记对应的类型和属性
服务级别:
100%
响应时间:
452ms
服务级别:
100%
响应时间:
368ms
服务级别:
100%
响应时间:
261ms
服务级别:
100%
响应时间:
285ms
服务级别:
100%
响应时间:
48ms
服务级别:
67%
响应时间:
258ms
服务级别:
100%
响应时间:
699ms
服务级别:
100%
响应时间:
279ms
服务级别:
100%
响应时间:
609ms
服务级别:
100%
响应时间:
163ms
服务级别:
100%
响应时间:
4,111ms
服务级别:
100%
响应时间:
2,554ms
服务级别:
100%
响应时间:
3,413ms
服务级别:
100%
响应时间:
321ms
服务级别:
100%
响应时间:
5,493ms
服务级别:
100%
响应时间:
0ms
服务级别:
100%
响应时间:
1,480ms
服务级别:
100%
响应时间:
4,072ms
服务级别:
100%
响应时间:
368ms
服务级别:
100%
响应时间:
544ms