Requesting Character Information

There are a lot of characters, with a lot of different properties. A single character technically has access to every schema.

For for information on this API and the schemas you can visit the API directly at:

https://the-got-api-production.up.railway.app/

You can request all characters with a single query using the 'characters' query type, or individual characters by id using the 'character' query type or by firstname using the 'searchChar' query type. You can then request whatever properties you want from the character model. To find out more about the schemas either visit the API directly or visit the Schemas tab in this documentation.

Navigate between code blocks using the tabs provided.


		{
			characters {
				fullname
				firstname
				lastname
				id
				title
				quotes{body}
				family{house}
				media{image}
			}
		}