Piloterr

Cultura Search

GET
/v2/cultura/search

Search Cultura by keyword and page through books, games, and culture products. Cards include title, price, availability, and the product link.

Credit cost: 2 credits per call

Autorização

ApiKeyAuth
x-api-key<token>

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

In: header

Parâmetros de consulta

query*string

Words to search for on Cultura, or the search page link.

Examples:

harry potter
https://www.cultura.com/search/results?search_query=harry+potter

A product link (/p-....html) returns 400.

page?number

Page number, starting at 1. For example, 2 returns the next page of results.

When query is a search link, a number above 1 replaces the page in that link.

Corpo da resposta

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v2/cultura/search?query=string"
{  "results": [    {      "sku": "13432454",      "url": "https://www.cultura.com/p-harry-potter-a-l-ecole-des-sorciers-9782075253147.html",      "name": "Harry Potter à l'école des sorciers",      "badge": "Précommande",      "brand": "J. K. Rowling",      "image": "https://cdn.cultura.com/media/pim/13432454_8wuv0xn9_1_95486",      "price": 8.95,      "rating": null,      "currency": "EUR",      "position": 1,      "availability": "Précommande - sortie le 05/11/26",      "review_count": null,      "price_display": "8,95 €",      "new_offers_count": null,      "new_offers_price": null,      "used_offers_count": null,      "used_offers_price": null,      "new_offers_price_display": null,      "used_offers_price_display": null    }  ],  "pagination": {    "next": "https://www.cultura.com/search/results?search_query=harry+potter&page=2",    "page": 1,    "per_page": 60,    "total_pages": 50,    "total_results": 3371  }}
{  "error": "Bad Request"}
{  "error": "Invalid API Key"}
{  "error": "Payment required"}
{  "error": "Rate limit exceeded for the API key: quota monthly"}
{  "error": "Internal Error"}