Getting breed information does not return anything

Hello! I’m a new user, and I’m trying out some of the requests for a mini project (Angular practice). When I do:

https://api.thecatapi.com/v1/breeds/search?q=abys

I get returned the breed information about abyssinian cats. Other IDs do not work though. For example,

https://api.thecatapi.com/v1/breeds/search?q=abob
https://api.thecatapi.com/v1/breeds/search?q=rblu

Both return empty lists. I wanted to ask, this problem is potentially on the API side, correct? I cannot see any fundamental differences between my requests. By the way I am not complaining, it’s hard to convey tone through text. I just want to understand if I’m doing something wrong.

Thank you!

Good question @rosen . The ./breeds/search endpoint expects a partial or complete name of the breed as the q parameter, rather than the ID of the breed, hence why ‘abys’ works as it is the start of the breed name Abyssinian

So a partial would be something like:
https://api.thecatapi.com/v1/breeds/search?q=bob which would return ‘american bobtail’, ’ japanese bobtail’, ‘pixie-bob’, etc

To get a breed using the id you would call https://api.thecatapi.com/v1/breeds/:breedId instead e.g. https://api.thecatapi.com/v1/breeds/abob

Hope that helped.

All the best, Aden

That does help, thank you! I completely misunderstood how to use the routes.