Get search suggestions
Autocomplete a partial keyword with Pinterest’s own search suggestions: suggested queries with their search links, plus suggested accounts where Pinterest includes them. Suggestions keep Pinterest’s order and source fields.
/v1/pinterest/search/suggestionsx-api-keyHeaders
Get your API keyYour ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.
Required partial keyword, 1–100 characters after trimming.
min 1 chars · max 100 chars
syntheticTrue when usable supported data was retrieved.
success, partial, failed, or challenged. Partial results carry coverage warnings.
one of: success, partial
Opaque operation identifier for correlation.
Canonical public source page. This field can contain the requested search query.
absolute HTTPS URL
UTC retrieval time. Every call makes fresh upstream requests; Pinterest may serve its own cached data.
Completeness of the returned suggestions. Warnings: restricted_records, malformed_records and record_limit.
Always included.
one of: public_resource, public_page, public_graphql, public_widget
Always included.
Always included.
Upstream attempts, total decoded response bytes, and elapsed milliseconds.
Always included.
0 – 11
Always included.
≥ 0
Always included.
≥ 0
Ordered suggestion records. Each has type (for example query or user) and label; query suggestions carry query and url, account suggestions carry username and profile image fields.
up to 100 items
Always included.
min 1 chars
Always included.
No fields match.
HTTP 200 returns the success variant. Check status: partial means usable data with warnings, and failed or challenged requests carry a failure object described in Errors & responses.
| HTTP | failure.code | Meaning |
|---|---|---|
| 200 | partial | Some records were restricted, malformed or capped, or pagination was unavailable. Inspect coverage.warnings. |
| 400 | invalid_request | Missing, duplicate, unsupported or invalid parameters or URL. |
| 401 | unauthorized | Missing or invalid service key. |
| 403 | restricted_page | Access-gated pin, board or profile, or no usable public records. |
| 404 | not_found | Pinterest explicitly reported a missing resource, or the route is unknown. |
| 429 | upstream_rate_limited | Pinterest rate limited retrieval. |
| 502 | upstream_challenged | Pinterest challenged the request. |
| 502 | unsupported_page upstream_error | Incomplete, changed or mismatched source data, or retrieval failure. |
| 502 | response_too_large payload_too_complex request_limit | A byte, parsing or request bound was exceeded. |
| 502 | unsafe_redirect | Upstream redirected; redirects are not followed. |
| 503 | busy | All worker slots are occupied. |
| 504 | timeout | The shared deadline expired. |