Search pins by a given search term
This endpoint is currently in beta and not available to all apps. Learn more.
Get the top 10 Pins by a given search term.
Query parameters
Search term to look up pins.
Two letter country code (ISO 3166-1 alpha-2)
Cursor used to fetch the next page of items
Search locale.
Max search result size
Response
The request has succeeded.
Example response
{
"items": [
{
"media": {
"images": {
"150x150": {
"width": 150,
"height": 150,
"url": "https://i.pinimg.com/150x150/0d/f6/f1/0df6f1f0bfe7aaca849c1bbc3607a34b.jpg"
},
"400x300": {
"width": 400,
"height": 300,
"url": "https://i.pinimg.com/400x300/0d/f6/f1/0df6f1f0bfe7aaca849c1bbc3607a34b.jpg"
},
"600x": {
"width": 600,
"height": 600,
"url": "https://i.pinimg.com/600x/0d/f6/f1/0df6f1f0bfe7aaca849c1bbc3607a34b.jpg"
},
"1200x": {
"width": 1200,
"height": 1200,
"url": "https://i.pinimg.com/1200x/0d/f6/f1/0df6f1f0bfe7aaca849c1bbc3607a34b.jpg"
}
}
}
}
]
}Changes
Changed in 5 of the 29 revisions of this API.3113
- ▲
the response's body type/format changed from
/toobject/for status200response-body-type-changed
- ○
removed
Paginatedsubschema #2from the response bodyallOflist for the response status200response-body-all-of-removed
- ○
added the non-success response with the status
401response-non-success-status-added
- ○
added the non-success response with the status
403response-non-success-status-added
- ○
added the non-success response with the status
404response-non-success-status-added
- ○
added the non-success response with the status
429response-non-success-status-added
- ○
added the optional property
bookmarkto the response with the200statusresponse-optional-property-added
- ○
added the required property
itemsto the response with the200statusresponse-required-property-added
This revision also has 182 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
added
PinMediaWithImagePinMediaWithVideoPinMediaWithImagesPinMediaWithVideosPinMediaWithImageAndVideoto theallOf[subschema #2]/items/items/media/allOf[subschema #1: Pin media -> subschema #1: Pin media response object.]/response propertyoneOflist for the response status200response-property-one-of-added
- ○
removed
PinMediaBasesubschema #2from theallOf[subschema #2]/items/items/media/allOf[subschema #1: Pin media -> subschema #1: Pin media response object.]/response propertyallOflist for the response status200response-property-all-of-removed
- ○
added discriminator to
allOf[subschema #2]/items/items/media/allOf[subschema #1: Pin media -> subschema #1: Pin media response object.]/response property for the response status200response-property-discriminator-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
removed the optional property
allOf[subschema #2]/items/items/media/allOf[subschema #1: Pin media]/media_typefrom the response with the200statusresponse-optional-property-removed
- ○
added the optional property
allOf[subschema #2]/items/items/idto the response with the200statusresponse-optional-property-added
- ○
added
PinMediaBasesubschema #2to theallOf[subschema #2]/items/items/media/allOf[subschema #1: Pin media]/response propertyallOflist for the response status200response-property-all-of-added
- ○
removed discriminator from
allOf[subschema #2]/items/items/media/allOf[subschema #1: Pin media]/response property for the response status200response-property-discriminator-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ▲
the
allOf[subschema #2]/response's property type/format changed from/toobject/for status200response-property-type-changed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○