Stats

Stats from python-zyte-api are exposed as Scrapy stats with the scrapy-zyte-api prefix.

For example, scrapy-zyte-api/status_codes/<status code> stats indicate the status code of Zyte API responses (e.g. 429 for rate limiting or 520 for temporary download errors).

Note

The actual status code that is received from the target website, i.e. the statusCode response field of a Zyte API successful response, is accounted for in the downloader/response_status_count/<status code> stat, as with any other Scrapy response.