TestingAPIs is still being built. If something breaks, email support@testingapis.com.

List genres, sorted and without duplicates

GEThttps://api.testingapis.com/api/Books/genresSign in to see this endpoint's URL

Responses

200
Genre names.

Example

Request
curl -X GET "https://api.testingapis.com/api/Books/genres" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response200 OK
["classics", "fantasy", "… 5 more items"]

Sign in to see the details

The parameters, request and response examples and the live Try it panel for this endpoint are for signed-in members. Accounts are free and take a few seconds to create.