Rick and Morty
The Rick and Morty API is a REST and GraphQL API based on the television show Rick and Morty Endpoints taken from the examples in the…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
The Rick and Morty API is a REST and GraphQL API based on the television show Rick and Morty
Endpoints taken from the examples in the documentation and checked on 2026-11-18 by calling each one without a key.
Endpoints 8
- GETGet root
/api - GETGet character
/api/character - GETGet location
/api/location - GETGet episode
/api/episode - GETGet character
/api/character/ - GETGet location
/api/location/64 - GETGet episode
/api/episode/27 - GETGet character
/api/character/361
API details
- Base URL
https://rickandmortyapi.com- Authentication
- None declared in the description
- Operations
- 8 operations on 8 pathsGET 8
- Response formats
application/json- Description format
- OpenAPI 3.0.3, API version
2026-11-18 - Links
- Documentation · OpenAPI document
How to test the Rick and Morty in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Rick and Morty collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “Get root” (GET /api), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Rick and Morty?
The Rick and Morty API is a REST and GraphQL API based on the television show Rick and Morty Endpoints taken from the examples in the… It is listed under Media & content and has 8 endpoints.
Who publishes the Rick and Morty?
It is listed from Rickandmortyapi's public API description (an OpenAPI document), not published by Rickandmortyapi on Swastik Codes. Anyone who controls rickandmortyapi.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Rick and Morty?
Requests go to https://rickandmortyapi.com. Endpoint paths are added to this base URL.
How do I authenticate with the Rick and Morty?
Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.
How many endpoints does the Rick and Morty have?
8 operations on 8 paths (8 GET).
Is forking the Rick and Morty free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.