Scrapy Cloud

⛔ Retired

[!CAUTION] This connector has been retired. Scrapinghub rebranded to Zyte in 2021. The legacy Scrapy Cloud API is being retired in favor of the Zyte API.

Official documentation: Scrapy Cloud API docs

Authentication

Scrapy Cloud uses API key authentication.

  1. Go to the Connections page and create a New Connection
  2. Select Scrapy Cloud API from the Connector dropdown
  3. Enter a Connection name
  4. Fill in the following credentials:
Field Required
Api Key ✅

In order to start using the hibase connector to the Scrapy Cloud API (v1), you need to create an API Key for your account.

  1. Log into your Scrapinghub account and navigate to API key

  2. In hibase, provide the API Key you see in your account when adding the Scrapy Cloud API connector

Endpoints

Jobs List (API docs)

Retrieve a list of spider jobs from the Scrapy Cloud platform.

Parameter Description Required
project The Scrapy Cloud project ID. ✅
job Filter by specific job ID. —
spider Filter jobs by spider name. —
state Filter by job state. Values: pending, running, finished, deleted —
has_tag Filter to jobs that have this tag. —
lacks_tag Filter to jobs that do not have this tag. —
limit Maximum number of jobs to return. —

Returned Data

Column Type
responses_received integer
items_scraped integer
logs integer
tags json
spider string
elapsed integer
priority integer
state string
version string
spider_type string
started_time datetime
id string
errors_count integer
updated_time datetime