Lightweight job status check for polling
Returns only the job status, domain, and timestamps. Use this for polling instead of the full job endpoint.
GET
/jobs/{id}/status
Returns only the job status, domain, and timestamps. Use this for polling instead of the full job endpoint.
Authentication
Bearer Token API Key (header: X-API-Key)
Path Parameters
id
string
required
path
Responses
200
Job status
application/jsonid
string
status
string
Enum:
pending, processing, completed, erroreddomain
string
product_count
integer
collection_count
integer
page_count
integer
created_at
string (date-time)
updated_at
string (date-time)
404
Job not found
curl -X GET 'https://shopsniffer.com/api/jobs/string/status' \ -H 'Authorization: Bearer YOUR_API_TOKEN'
const response = await fetch('https://shopsniffer.com/api/jobs/string/status', { method: 'GET', headers: { "Authorization": "Bearer YOUR_API_TOKEN" }});const data = await response.json();console.log(data);
import requestsheaders = { 'Authorization': 'Bearer YOUR_API_TOKEN'}response = requests.get('https://shopsniffer.com/api/jobs/string/status', headers=headers)print(response.json())
200
Response
{ "id": "<string>", "status": "pending", "domain": "<string>", "product_count": 123, "collection_count": 123, "page_count": 123, "created_at": "2024-01-01T00:00:00Z", "updated_at": "2024-01-01T00:00:00Z"}
API Playground
Try this endpoint
GET
/jobs/{id}/status