Piloterr

Zazzle Search

GET
/v2/zazzle/search

Search Zazzle products by keyword. page maps to the pg parameter. Prices are a number plus a display string.

Credit cost: 1 credit per call

Autorização

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Parâmetros de consulta

query*string

Required. Keyword or a zazzle.com/s search URL. Example: coffee mug. A product URL returns 400.

page?number

Optional. Page number from 1. Example: 2. Maps to the Zazzle pg parameter. Defaults to 1.

Corpo da resposta

Successful response

application/json
  1. response
results?array<>
pagination?
Example Request
curl -X GET 'https://api.piloterr.com/v2/zazzle/search?query=string'
Example Response
{  "results": [    {      "url": "https://www.zazzle.com/branded_logo_two_tone_coffee_mug-256528848440338952",      "image": "https://rlv.zcache.com/branded_logo_two_tone_coffee_mug-r_k6fu4x_306.jpg",      "price": 15.81,      "title": "Branded Logo Two-Tone Coffee Mug",      "product_id": "256528848440338952",      "price_display": "$15.81",      "original_price": 18.6,      "original_price_display": "$18.60"    }  ],  "pagination": {    "next": "https://www.zazzle.com/s/coffee+mug?pg=2",    "page": 1,    "per_page": 60,    "total_pages": 44398,    "total_results": 2663878  }}