Request format

Alert

API access requires a key. You can get a free API key in the Developer's Dashboard.

The Structured Data Validator API handles the following types of document validation:

  • Validation for URL.

    Request address: https://validator-api.semweb.yandex.ru/v1.1/url_parser.

    Validation method — url_parser.

    Request method — GET.

  • Validation for HTML code.

    Request address: https://validator-api.semweb.yandex.ru/v1.1/document_parser.

    Validation method — document_parser.

    Request method — POST.

The request URL contains the version number of the Structured Data Validator API. To find out the current value, see the section API versions.

The response format is the same for all types of validation.