scraping

Scrape Single

Scrape a single URL using the specified engines

Requires permission: scrape:read

post/scrape/single

Request body

urlstring uri required

Example request

{
  "engines": [
    {
      "engine_type": "scrapingbee",
      "timeout": 10000
    }
  ],
  "url": "https://example.com"
}

Response

Successful Response

urlstring required
contentstring nullable required
status_codeinteger nullable required
url_hashstring nullable required
content_hashstring nullable required
composite_hashstring nullable required
errorstring nullable

Changes

Changed in 4 of the 16 revisions of this API.59

    • added the optional property detail/items/ctx to the response with the 422 status

      response-optional-property-added

    • added the optional property detail/items/input to the response with the 422 status

      response-optional-property-added

    • added the new ASYNC_FLEET_STICKY enum value to the request property engines/items/engine_type

      request-property-enum-value-added

  • 707c0eb9cee112See the full diff
    • removed the enum value ASYNC_FLEET of the request property engines/items/engine_type

      request-property-enum-value-removed

    • added the new FLEET_ASYNC enum value to the request property engines/items/engine_type

      request-property-enum-value-added

    • added the new FLEET_WORKFLOW enum value to the request property engines/items/engine_type

      request-property-enum-value-added

    • removed the enum value async_fleet of the request property engines/items/engine_type

      request-property-enum-value-removed

    • removed the enum value fleet of the request property engines/items/engine_type

      request-property-enum-value-removed

    • removed the enum value scrapingbee of the request property engines/items/engine_type

      request-property-enum-value-removed

    • removed the enum value zenrows of the request property engines/items/engine_type

      request-property-enum-value-removed

    • added the new ASYNC_FLEET enum value to the request property engines/items/engine_type

      request-property-enum-value-added

    • added the new FLEET enum value to the request property engines/items/engine_type

      request-property-enum-value-added

    • added the new SCRAPINGBEE enum value to the request property engines/items/engine_type

      request-property-enum-value-added

    • added the new ZENROWS enum value to the request property engines/items/engine_type

      request-property-enum-value-added