Skip to content
Scrappa Get API key
Petco API 1 credit / request

Petco Autocomplete

GET https://scrappa.co/api/petco/autocomplete

Return public prefix suggestions and matching product previews with prices and image urls. Product preview ids are accepted unchanged by product and reviews. Costs 1 credit per successful request. Failed requests are not billed.

Petco Autocomplete 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/petco/autocomplete
Auth header
x-api-key
Cost
1 credit / request
q = coffee shops
Response preview
200 OK
Example JSON appears below when a response schema is available for this endpoint.

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

q string Required

Prefix to complete.

Example value coffee shops

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

HTTP 422

Invalid prefix. Not billed.

503

HTTP 503

Petco did not return usable data. Not billed.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.