Axerity

Find pets by tags

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

GET https://petstore3.swagger.io/api/v3/pet/findByTags

Query parameters

tags array of strings

Tags to filter by.

Returns

Returns an array of Pet objects.

data Pet[]

The pets that match the tags.

Request
curl "https://petstore3.swagger.io/api/v3/pet/findByTags?tags=friendly"
Response
[{ "id": 10, "name": "doggie", "tags": [{ "id": 1, "name": "friendly" }] }]