Alt text

Rick and Morty API Examples

1. Get a list of all characters

Method: GET

URL: https://rickandmortyapi.com/api/character/

2. Getting information about a specific character

Method: GET

URL: https://rickandmortyapi.com/api/character/1

3. Search for characters by name

Method: GET

URL: https://rickandmortyapi.com/api/character/?name=Rick

4. Get a list of all episodes

Method: GET

URL: https://rickandmortyapi.com/api/episode/

5. Get information about a specific episode

Method: GET

URL: https://rickandmortyapi.com/api/episode/1

6. Search for episodes by name

Method: GET

URL: https://rickandmortyapi.com/api/episode/?name=Pilot

7. Get a list of all locations

Method: GET

URL: https://rickandmortyapi.com/api/location/

8. Obtaining Location-Specific Information

Method: GET

URL: https://rickandmortyapi.com/api/location/1