Skip to content

Finds Pets by tags.

GET
/pet/findByTags
curl -X GET 'https://petstore3.swagger.io/api/v3/pet/findByTags?tags=%5B%22string%22%5D'

Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.

tags
required
Array<string>

Tags to filter by

Successful operation

Array<object>
object
category
object
id
integer format: int64
name
string
id
integer format: int64
name
required
string
photoUrls
required
Array<string>
status

Pet status in the store

string
Allowed values: available pending sold
tags
Array<object>
object
id
integer format: int64
name
string
Example
[
{
"category": {
"id": 1,
"name": "Dogs"
},
"id": 10,
"name": "doggie",
"status": "available"
}
]

Invalid tag value

Unexpected error

Suggest an edit to this page