### Buildkite API Source: https://github.com/apis-guru/graphql-apis/blob/master/README.md Facilitates continuous integration and deployments. Provides a GraphiQL endpoint for interaction and documentation on getting started with GraphQL queries and mutations. ```APIDOC ## Buildkite API ### Description Continuous integration and deployment platform with GraphQL API. ### GraphiQL Endpoint [Try it!](https://graphql.buildkite.com/) ### Documentation [Docs](https://building.buildkite.com/tutorial-getting-started-with-graphql-queries-and-mutations-11211dfe5d64#.7uhjusw1q) ``` -------------------------------- ### Contentful GraphQL API Query Example (GraphQL) Source: https://github.com/apis-guru/graphql-apis/blob/master/README.md Demonstrates how to query a Contentful blog using GraphQL. This example fetches lesson collections with specific titles, including image URLs and code snippet details. It utilizes fragments for reusable query parts. ```graphql { lessonCollection(where: { OR: [ { title_contains: "content" }, { title_contains: "SDK" } ] }) { items { title slug modulesCollection(limit: 2, skip: 1) { total limit skip items { ...imageUrl ... on LessonCodeSnippets { title } ... on LessonCopy { sys { id } title } } } } } } fragment imageUrl on LessonImage { title image { url } } ``` -------------------------------- ### Artsy API Source: https://github.com/apis-guru/graphql-apis/blob/master/README.md A free online platform for collecting and discovering art. This entry points to the Metaphysics repository which includes setup instructions for a local GraphiQL environment. ```APIDOC ## Artsy API ### Description Free online platform for collecting and discovering art. ### GraphiQL Setup [Try it!](https://github.com/artsy/metaphysics/tree/2eab34884eed9204acfd3f3507e1f91eaae5d424?tab=readme-ov-file#setting-up-your-local-graphiql) ### Repository [Repo](https://github.com/artsy/metaphysics) ``` -------------------------------- ### Query Shopify Store Information (cURL) Source: https://context7.com/apis-guru/graphql-apis/llms.txt Demonstrates how to query basic store information from the Shopify Storefront API using a Storefront Access Token and cURL. This example fetches the shop name and primary domain. ```bash # Using curl with storefront access token curl -X POST \ https://YOUR_STORE.myshopify.com/api/graphql.json \ -H "Content-Type: application/graphql" \ -H "X-Shopify-Storefront-Access-Token: YOUR_STOREFRONT_TOKEN" \ -d 'query { shop { name primaryDomain { url } } }' ``` -------------------------------- ### MongoDB Northwind Demo API Source: https://context7.com/apis-guru/graphql-apis/llms.txt This section demonstrates querying data from a Northwind database using GraphQL. Examples include retrieving products with their categories and suppliers, and orders with customer details. ```APIDOC ## MongoDB Northwind Demo ### Description Demonstration API showcasing GraphQL with MongoDB using the classic Northwind database schema. ### Method POST ### Endpoint https://graphql-compose.herokuapp.com/northwind/ ### Parameters #### Query Parameters - **limit** (Int) - Optional - The maximum number of items to return. ### Query: Get Products #### Description Retrieves a list of products, including their category and supplier information. #### Request Example ```graphql # Query products with category and supplier information query GetProducts { products(limit: 10) { productID productName unitPrice unitsInStock discontinued category { categoryName description } supplier { companyName contactName country } } } ``` ### Query: Get Orders #### Description Retrieves a list of orders, including customer details and order items. #### Request Example ```graphql # Query orders with customer details query GetOrders { orders(limit: 5) { orderID orderDate freight customer { companyName contactName city country } orderDetails { product { productName } quantity unitPrice } } } ``` ### Request Example (curl) ```bash curl -X POST https://graphql-compose.herokuapp.com/northwind/ \ -H "Content-Type: application/json" \ -d '{"query":"{ products(limit: 5) { productName unitPrice } }"}' ``` ### Response #### Success Response (200) - **data** (Object) - Contains the query results. - **products** (Array of Objects) - List of product objects. - **productID** (ID) - Unique identifier for the product. - **productName** (String) - Name of the product. - **unitPrice** (Float) - The unit price of the product. - **unitsInStock** (Int) - The number of units in stock. - **discontinued** (Boolean) - Indicates if the product is discontinued. - **category** (Object) - Information about the product's category. - **categoryName** (String) - Name of the category. - **description** (String) - Description of the category. - **supplier** (Object) - Information about the product's supplier. - **companyName** (String) - Name of the supplier company. - **contactName** (String) - Name of the supplier contact person. - **country** (String) - Country of the supplier. - **orders** (Array of Objects) - List of order objects. - **orderID** (ID) - Unique identifier for the order. - **orderDate** (Date) - The date the order was placed. - **freight** (Float) - The freight charge for the order. - **customer** (Object) - Information about the customer who placed the order. - **companyName** (String) - Name of the customer company. - **contactName** (String) - Name of the customer contact person. - **city** (String) - City of the customer. - **country** (String) - Country of the customer. - **orderDetails** (Array of Objects) - List of items in the order. - **product** (Object) - Information about the product in the order detail. - **productName** (String) - Name of the product. - **quantity** (Int) - Quantity of the product in the order. - **unitPrice** (Float) - The unit price of the product at the time of the order. ### Response Example (Products) ```json { "data": { "products": [ { "productID": "1", "productName": "Chai", "unitPrice": 18.00, "unitsInStock": 39, "discontinued": false, "category": { "categoryName": "Beverages", "description": "Soft drinks, coffees, teas, beers, and ales" }, "supplier": { "companyName": "Exotic Liquids", "contactName": "Charlotte Cooper", "country": "USA" } } ] } } ``` ``` -------------------------------- ### Query Yelp Businesses (cURL) Source: https://context7.com/apis-guru/graphql-apis/llms.txt Demonstrates querying Yelp's GraphQL API using cURL and an API key for authentication. This example searches for coffee shops in NYC and retrieves their names and ratings. ```bash # Using curl with Yelp API key curl -X POST https://api.yelp.com/v3/graphql \ -H "Authorization: Bearer YOUR_YELP_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query":"{ search(location: \"NYC\", term: \"coffee\") { total business { name rating } } }"}' ``` -------------------------------- ### Weather GraphQL API Source: https://context7.com/apis-guru/graphql-apis/llms.txt This section shows how to retrieve current weather information for cities worldwide using the Weather GraphQL API. It includes a GraphQL query example and a curl command. ```APIDOC ## Weather GraphQL API ### Description Retrieve current weather information for cities worldwide. ### Method POST ### Endpoint https://graphql-weather-api.herokuapp.com/ ### Parameters #### Query Parameters - **name** (String) - Required - The name of the city for which to retrieve weather information. ### Request Example ```graphql # Get weather for a specific city query GetWeather { getCityByName(name: "London") { id name country weather { summary { title description icon } temperature { actual feelsLike min max } wind { speed deg } clouds { all visibility humidity } } } } ``` ### Request Example (curl) ```bash curl -X POST https://graphql-weather-api.herokuapp.com/ \ -H "Content-Type: application/json" \ -d '{"query":"{ getCityByName(name: \"Paris\") { name weather { temperature { actual } } } }"}' ``` ### Response #### Success Response (200) - **data** (Object) - Contains the query results. - **getCityByName** (Object) - Information about the specified city. - **id** (ID) - Unique identifier for the city. - **name** (String) - Name of the city. - **country** (String) - Country of the city. - **weather** (Object) - Current weather details. - **summary** (Object) - Weather summary. - **title** (String) - Title of the weather summary (e.g., "Clear"). - **description** (String) - Detailed weather description. - **icon** (String) - Icon code for the weather. - **temperature** (Object) - Temperature information. - **actual** (Float) - Current actual temperature. - **feelsLike** (Float) - The "feels like" temperature. - **min** (Float) - Minimum temperature for the day. - **max** (Float) - Maximum temperature for the day. - **wind** (Object) - Wind information. - **speed** (Float) - Wind speed. - **deg** (Int) - Wind direction in degrees. - **clouds** (Object) - Cloud information. - **all** (Int) - Cloudiness percentage. - **visibility** (Int) - Visibility distance. - **humidity** (Int) - Humidity percentage. ### Response Example ```json { "data": { "getCityByName": { "id": "2643743", "name": "London", "country": "GB", "weather": { "summary": { "title": "Clouds", "description": "overcast clouds", "icon": "04d" }, "temperature": { "actual": 15.5, "feelsLike": 14.8, "min": 14.0, "max": 17.0 }, "wind": { "speed": 5.1, "deg": 240 }, "clouds": { "all": 90, "visibility": 10000, "humidity": 82 } } } } } ``` ``` -------------------------------- ### EtMDB GraphQL API Query Example (GraphQL) Source: https://github.com/apis-guru/graphql-apis/blob/master/README.md An example query for the Ethiopian Movie Database (EtMDB) GraphQL API. This query retrieves details about cinema halls, specifically their slugs and hall names, for entries created between '2010-01-01' and '2017-10-04'. ```graphql { allCinemaDetails(before: "2017-10-04", after: "2010-01-01") { edges { node { slug hallName } } } } ``` -------------------------------- ### Rick and Morty Characters API Source: https://context7.com/apis-guru/graphql-apis/llms.txt This section demonstrates how to query characters from the Rick and Morty API with filtering and pagination options. It includes a GraphQL query example and a curl command for making requests. ```APIDOC ## Get characters with filtering and pagination ### Description Queries characters from the Rick and Morty API, allowing filtering by status and species, and pagination. ### Method POST ### Endpoint https://rickandmortyapi.com/graphql ### Parameters #### Query Parameters - **page** (Int) - Optional - The page number for pagination. - **filter** (Object) - Optional - Filtering options for characters. - **status** (String) - Optional - Filter by character status (e.g., "Alive", "Dead", "Unknown"). - **species** (String) - Optional - Filter by character species (e.g., "Human", "Alien"). ### Request Example ```graphql { characters(page: 1, filter: { status: "Alive", species: "Human" }) { info { count pages next prev } results { id name status species type gender origin { name dimension } location { name } image episode { name episode } } } } ``` ### Request Example (curl) ```bash curl -X POST https://rickandmortyapi.com/graphql \ -H "Content-Type: application/json" \ -d '{"query":"{ characters(page: 1) { results { name status species } } }"}' ``` ### Response #### Success Response (200) - **data** (Object) - Contains the query results. - **characters** (Object) - Information about the characters. - **info** (Object) - Pagination information. - **count** (Int) - Total number of characters. - **pages** (Int) - Total number of pages. - **next** (Int) - Number of the next page. - **prev** (Int) - Number of the previous page. - **results** (Array of Objects) - List of character objects. - **id** (ID) - Unique identifier for the character. - **name** (String) - Name of the character. - **status** (String) - Status of the character (e.g., "Alive", "Dead"). - **species** (String) - Species of the character. - **type** (String) - Type of the character. - **gender** (String) - Gender of the character. - **origin** (Object) - Information about the character's origin. - **name** (String) - Name of the origin location. - **dimension** (String) - Dimension of the origin location. - **location** (Object) - Information about the character's current location. - **name** (String) - Name of the current location. - **image** (String) - URL of the character's image. - **episode** (Array of Objects) - List of episodes the character appeared in. - **name** (String) - Name of the episode. - **episode** (String) - Code of the episode. ### Response Example ```json { "data": { "characters": { "info": { "count": 826, "pages": 42, "next": 2, "prev": null }, "results": [ { "id": "1", "name": "Rick Sanchez", "status": "Alive", "species": "Human", "type": "", "gender": "Male", "origin": { "name": "Earth (C-137)", "dimension": "Dimension C-137" }, "location": { "name": "Citadel of Ricks" }, "image": "https://rickandmortyapi.com/api/character/avatar/1.jpeg", "episode": [ { "name": "Pilot", "episode": "S01E01" }, { "name": "The Rickshank Rickdemption", "episode": "S03E01" } ] } ] } } } ``` ``` -------------------------------- ### EtMDB API Source: https://github.com/apis-guru/graphql-apis/blob/master/README.md The Ethiopian Movie Database API allows querying movie and cinema information using GraphQL. Includes a GraphiQL endpoint with an example query and documentation. ```APIDOC ## EtMDB API ### Description Provides data for the Ethiopian Movie Database via GraphQL. ### GraphiQL Endpoint [Try it!](https://etmdb.com/graphql?query=%7B%0A%20%20allCinemaDetails(before%3A%20%222017-10-04%22%2C%20after%3A%20%222010-01-01%22)%20%7B%0A%20%20%20%20edges%20%7B%0A%20%20%20%20%20%20node%20%7B%0A%20%20%20%20%20%20%20%20slug%0A%20%20%20%20%20%20%20%20hallName%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A) ### Documentation [Docs](https://etmdb.com/api/docs/) ``` -------------------------------- ### Get Detailed Pokémon Data (GraphQL) Source: https://context7.com/apis-guru/graphql-apis/llms.txt This GraphQL query retrieves comprehensive data for a specific Pokémon (e.g., 'charizard'), including its number, species, types, abilities, base stats, type effectiveness, and evolution chain. It uses the Favware GraphQL Pokémon API. ```graphql # Get detailed Pokémon data with type matchups query GetPokemonDetailed { getPokemon(pokemon: charizard) { num species types abilities { first second hidden } baseStats { hp attack defense specialattack specialdefense speed } typeEffectiveness { normal fire water electric grass } evolutions { species level } } } ``` -------------------------------- ### Spotify GraphQL Server Source: https://github.com/apis-guru/graphql-apis/blob/master/README.md This API demonstrates how to construct a GraphQL server that fetches data from the Spotify API. ```APIDOC ## Spotify GraphQL Server ### Description This demonstrates how to build a GraphQL server which fetches data from an external API (Spotify). ### Method *Likely POST for GraphQL queries.* ### Endpoint `https://spotify-graphql-server.herokuapp.com/` ### Parameters *Not specified.* ### Request Example *Not specified.* ### Response #### Success Response (200) *Response structure depends on the specific GraphQL query.* #### Response Example *Not specified.* ``` -------------------------------- ### Fetch Product Data using cURL (Bash) Source: https://context7.com/apis-guru/graphql-apis/llms.txt This bash command uses curl to send a POST request to the Northwind GraphQL demo API to fetch product names and unit prices, limited to 5 products. ```bash curl -X POST https://graphql-compose.herokuapp.com/northwind/ \ -H "Content-Type: application/json" \ -d '{"query":"{ products(limit: 5) { productName unitPrice } }"}' ``` -------------------------------- ### Catalysis Hub API Source: https://github.com/apis-guru/graphql-apis/blob/master/README.md Provides chemical surface reaction energies and structures. Includes a GraphiQL endpoint and extensive documentation, including tutorials. ```APIDOC ## Catalysis Hub API ### Description Provides chemical surface reaction energies and structures. ### GraphiQL Endpoint [Try it!](http://api.catalysis-hub.org/graphql) ### Repository [Repo](https://github.com/SUNCAT-Center/CatalysisHubBackend) ### Documentation [Docs](http://docs.catalysis-hub.org/en/latest/tutorials/index.html#graphql) ``` -------------------------------- ### Query Shopify Products (GraphQL) Source: https://context7.com/apis-guru/graphql-apis/llms.txt Utilizes the Shopify Storefront API to query product details, including variants, pricing, and images. This allows for building custom shopping experiences by retrieving product catalog information. ```graphql query GetProducts { products(first: 10) { edges { node { id title description handle variants(first: 5) { edges { node { id title price availableForSale } } } images(first: 1) { edges { node { url altText } } } } } } } ``` -------------------------------- ### Contentful API Source: https://github.com/apis-guru/graphql-apis/blob/master/README.md A 'CMS as a Service' with a GraphQL API. The provided GraphiQL demo allows querying a simple blog, and the library automatically generates schemas for any content model. ```APIDOC ## Contentful API ### Description A 'CMS as a Service' with a GraphQL API. The GraphiQL demo allows querying a simple blog, and the library generates schemas automatically for any content model. ### GraphiQL Demo [Try it!](https://graphql.contentful.com/content/v1/spaces/f8bqpb154z8p/explore?access_token=9d5de88248563ebc0d2ad688d0473f56fcd31c600e419d6c8962f6aed0150599&query=%7B%0A%20%20lessonCollection(where%3A%20%7B%20%0A%09%09OR%3A%20%5B%0A%09%09%09%7B%20title_contains%3A%20%22content%22%20%7D%2C%0A%09%09%09%7B%20title_contains%3A%20%22SDK%22%20%7D%0A%09%09%5D%0A%20%20%7D)%20%7B%0A%20%20%20%20items%20%7B%0A%20%20%20%20%20%20title%0A%20%20%20%20%20%20slug%0A%20%20%20%20%20%20modulesCollection(limit%3A%202%2C%20skip%3A%201)%20%7B%0A%20%20%20%20%20%20%20%20total%0A%09%09%09%09limit%0A%09%09%09%09skip%0A%20%20%20%20%20%20%20%20items%20%7B%0A%20%20%20%20%20%20%20%20%20%20...imageUrl%0A%09%09%09%09%09...%20on%20LessonCodeSnippets%20%7B%0A%20%20%20%20%20%20%20%20%20%20title%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20...%20on%20LessonCopy%20%7B%0A%20%20%20%20%20%20%20%20%20%20sys%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20id%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20title%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A%0Afragment%20imageUrl%20on%20LessonImage%20%7B%0A%20%20title%0A%20%20image%20%7B%0A%20%20%20%20url%0A%20%20%7D%0A%7D) ### Documentation [Docs](https://www.contentful.com/developers/docs/tutorials/general/graphql/) ``` -------------------------------- ### Shopify Storefront API Source: https://context7.com/apis-guru/graphql-apis/llms.txt Build custom shopping experiences with the Shopify Storefront API for querying products, collections, and customer data. Requires a Storefront Access Token. ```APIDOC ## Shopify Storefront API ### Description Build custom shopping experiences with the Shopify Storefront API for querying products, collections, and customer data. ### Method POST ### Endpoint `https://YOUR_STORE.myshopify.com/api/graphql.json` ### Parameters #### Header Parameters - **Content-Type** (string) - Required - `application/graphql` - **X-Shopify-Storefront-Access-Token** (string) - Required - Your Storefront Access Token ### Request Body - **query** (string) - Required - The GraphQL query string. ### Request Example ```graphql query { shop { name primaryDomain { url } } } ``` ### Response #### Success Response (200) - **data** (object) - Contains the result of the GraphQL query. - **errors** (array) - Contains a list of errors if the query failed. ``` -------------------------------- ### Get Pokémon Data (GraphQL) Source: https://context7.com/apis-guru/graphql-apis/llms.txt This GraphQL query retrieves detailed information for the Pokémon 'pikachu', including its ID, name, height, weight, types, abilities, base stats, and front-facing sprites. It uses the PokeAPI GraphQL interface. ```graphql # Get Pokémon with abilities and types query GetPokemon { pokemon(name: "pikachu") { id name height weight types { type { name } } abilities { ability { name } is_hidden } stats { base_stat stat { name } } sprites { front_default front_shiny } } } ``` -------------------------------- ### Query Products with Category and Supplier Info (GraphQL) Source: https://context7.com/apis-guru/graphql-apis/llms.txt This GraphQL query retrieves product information, including their category and supplier details, limited to the first 10 products. ```graphql query GetProducts { products(limit: 10) { productID productName unitPrice unitsInStock discontinued category { categoryName description } supplier { companyName contactName country } } } ``` -------------------------------- ### Chargetrip API Source: https://github.com/apis-guru/graphql-apis/blob/master/README.md Integrates smart, EV-specific routing into applications for electric car drivers. Offers a GraphiQL playground and API reference documentation. ```APIDOC ## Chargetrip API ### Description Provides smart, EV-specific routing for electric car drivers. ### GraphiQL Playground [Try it!](https://playground.chargetrip.com/) ### Documentation [Docs](https://developers.chargetrip.com/API-Reference/API/introduction) ``` -------------------------------- ### Query Orders with Customer and Details (GraphQL) Source: https://context7.com/apis-guru/graphql-apis/llms.txt This GraphQL query retrieves order information, including customer details and the products included in each order, limited to the first 5 orders. ```graphql query GetOrders { orders(limit: 5) { orderID orderDate freight customer { companyName contactName city country } orderDetails { product { productName } quantity unitPrice } } } ``` -------------------------------- ### Three.js Demo API Source: https://github.com/apis-guru/graphql-apis/blob/master/README.md Allows users to declare a Three.js program using GraphQL. ```APIDOC ## Three.js Demo API ### Description Declare a Three.js program with GraphQL. ### Method *Likely POST for submitting Three.js program declarations.* ### Endpoint `https://jwerle.github.io/three.graphql/` ### Parameters *Not specified.* ### Request Example *Not specified.* ### Response #### Success Response (200) *Response structure depends on the program declaration.* #### Response Example *Not specified.* ``` -------------------------------- ### Fetch Favware Pokémon Data using cURL (Bash) Source: https://context7.com/apis-guru/graphql-apis/llms.txt This cURL command demonstrates how to query detailed Pokémon data from the Favware GraphQL Pokémon API. It requests specific fields for a given Pokémon name. ```bash # Using curl curl -X POST https://graphqlpokemon.favware.tech \ -H "Content-Type: application/json" \ -d '{"query":"{ getPokemon(pokemon: pikachu) { species types baseStats { hp attack } } }"}' ``` -------------------------------- ### AniList API Source: https://github.com/apis-guru/graphql-apis/blob/master/README.md Provides access to anime and manga data, including characters, staff, and live airing information. Includes a GraphiQL interface for testing and detailed documentation. ```APIDOC ## AniList API ### Description Access anime and manga data, including characters, staff, and live airing information. ### GraphiQL Endpoint [Try it!](https://anilist.co/graphiql) ### Documentation [Docs](https://anilist.gitbook.io/anilist-apiv2-docs/) ``` -------------------------------- ### Planets API Source: https://github.com/apis-guru/graphql-apis/blob/master/README.md Provides information about planets and exoplanets, including details on their mass, radius, orbit, and discovery. ```APIDOC ## Planets API ### Description Information about planets and exoplanets, including mass, radius, orbit, semimajor axis, and how it was discovered. ### Method *Likely POST for GraphQL queries.* ### Endpoint `https://pristine-gadget-267405.appspot.com/graphql/` ### Parameters *Not specified.* ### Request Example *Not specified.* ### Response #### Success Response (200) *Response structure depends on the specific GraphQL query.* #### Response Example *Not specified.* ``` -------------------------------- ### Authenticate and Query GitHub API (cURL) Source: https://context7.com/apis-guru/graphql-apis/llms.txt Demonstrates how to authenticate with the GitHub GraphQL API using a Personal Access Token and query viewer information using cURL. Requires a GitHub token and sets necessary headers for the request. ```bash # Using curl with authentication curl -H "Authorization: Bearer YOUR_GITHUB_TOKEN" \ -H "User-Agent: Agent" \ -H "Content-Type: application/json" \ -X POST \ -d '{"query":"query { viewer { login name repositories(first: 5) { nodes { name } } } }"}' \ https://api.github.com/graphql ``` -------------------------------- ### Fetch SpaceX Launch Data using cURL (Bash) Source: https://context7.com/apis-guru/graphql-apis/llms.txt This cURL command demonstrates how to query the latest SpaceX launch data. It sends a JSON payload with a GraphQL query to the SpaceX GraphQL API endpoint. ```bash # Using curl curl -X POST https://api.spacex.land/graphql/ \ -H "Content-Type: application/json" \ -d '{"query":"{ launchLatest { mission_name launch_date_utc rocket { rocket_name } } }"}' ``` -------------------------------- ### Query Star Wars Films and Characters (GraphQL) Source: https://context7.com/apis-guru/graphql-apis/llms.txt This GraphQL query retrieves a list of Star Wars films, including their title, episode ID, release date, director, opening crawl, and the first 5 characters associated with each film. It uses the SWAPI GraphQL API. ```graphql # Query Star Wars films with characters query GetStarWarsFilms { allFilms { films { title episodeID releaseDate director openingCrawl characterConnection(first: 5) { characters { name height mass homeworld { name } } } } } } ``` -------------------------------- ### Fetch Anime Data using cURL (Bash) Source: https://context7.com/apis-guru/graphql-apis/llms.txt This cURL command demonstrates how to query public anime data from the AniList GraphQL API. It fetches basic information for a specific media ID. ```bash # Using curl (no authentication required for public data) curl -X POST https://graphql.anilist.co \ -H "Content-Type: application/json" \ -d '{"query":"{ Media(id: 1) { title { romaji english } episodes } }"}' ``` -------------------------------- ### MongoDB Northwind Demo API Source: https://github.com/apis-guru/graphql-apis/blob/master/README.md A demo application built with graphql-compose and mongoose, providing access to Northwind database data via GraphQL. ```APIDOC ## MongoDB Northwind Demo API ### Description Demo App build on top of graphql-compose and mongoose. Provides data from the Northwind database. ### Method *Likely POST for GraphQL queries.* ### Endpoint `https://graphql-compose.herokuapp.com/northwind/` ### Parameters *Not specified.* ### Request Example *Not specified.* ### Response #### Success Response (200) *Response structure depends on the specific GraphQL query.* #### Response Example *Not specified.* ### Notes There is also a Relay version available: `https://nodkz.github.io/relay-northwind/`. ``` -------------------------------- ### Fetch Star Wars Films using cURL (Bash) Source: https://context7.com/apis-guru/graphql-apis/llms.txt This cURL command demonstrates how to query basic Star Wars film information from the SWAPI GraphQL endpoint. It sends a JSON payload containing the GraphQL query. ```bash # Using curl curl -X POST https://graphql.org/swapi-graphql/ \ -H "Content-Type: application/json" \ -d '{"query":"{ allFilms { films { title episodeID director } } }"}' ``` -------------------------------- ### CommerceTools API Source: https://github.com/apis-guru/graphql-apis/blob/master/README.md Offers e-commerce solutions through a GraphQL API. Includes a GraphiQL endpoint for testing and comprehensive GraphQL API documentation. ```APIDOC ## CommerceTools API ### Description E-commerce solutions with a GraphQL API. ### GraphiQL Endpoint [Try it!](https://impex.commercetools.com/graphiql) ### Documentation [Docs](https://docs.commercetools.com/graphql-api) ``` -------------------------------- ### Fake GraphQL API (Mocki.io) Source: https://github.com/apis-guru/graphql-apis/blob/master/README.md A service that provides mock user and to-do data through a GraphQL interface, useful for development and testing. ```APIDOC ## Fake GraphQL API (Mocki.io) ### Description Mock user and to do data. ### Method *Likely POST for GraphQL requests.* ### Endpoint `https://mocki.io/graphql` ### Parameters *Not specified.* ### Request Example *Not specified.* ### Response #### Success Response (200) *Response structure depends on the mocked data.* #### Response Example *Not specified.* ``` -------------------------------- ### A-Maze API Source: https://github.com/apis-guru/graphql-apis/blob/master/README.md An interactive GraphQL API that simulates a maze game. Users can try to navigate and escape the maze. ```APIDOC ## A-Maze API ### Description This API provides an interactive maze game where users can attempt to find their way out. ### Method *Not specified, likely POST/mutation for game actions.* ### Endpoint *Not specified.* ### Parameters *Not specified.* ### Request Example *Not specified.* ### Response #### Success Response (200) *Response structure depends on game actions.* #### Response Example *Not specified.* ``` -------------------------------- ### SWAPI GraphQL (Star Wars API) Source: https://context7.com/apis-guru/graphql-apis/llms.txt Access comprehensive data about the Star Wars universe, including films, characters, planets, and starships. ```APIDOC ## POST /swapi-graphql/ ### Description Query data from the Star Wars universe, including films, characters, planets, and starships. ### Method POST ### Endpoint https://graphql.org/swapi-graphql/ ### Parameters #### Query Parameters * **query** (string) - Required - The GraphQL query string. ### Request Example ```json { "query": "query GetStarWarsFilms {\n allFilms {\n films {\n title\n episodeID\n releaseDate\n director\n openingCrawl\n characterConnection(first: 5) {\n characters {\n name\n height\n mass\n homeworld {\n name\n }\n }\n }\n }\n }\n}" } ``` ### Response #### Success Response (200) - **data** (object) - The result of the GraphQL query. #### Response Example ```json { "data": { "allFilms": { "films": [ { "title": "A New Hope", "episodeID": 4, "releaseDate": "1977-05-25", "director": "George Lucas", "openingCrawl": "It is a period of civil war...", "characterConnection": { "characters": [ { "name": "Luke Skywalker", "height": 172, "mass": 77, "homeworld": { "name": "Tatooine" } }, { "name": "C-3PO", "height": 167, "mass": 75, "homeworld": { "name": "Tatooine" } } ] } } ] } } } ``` ``` -------------------------------- ### FakeQL API Source: https://github.com/apis-guru/graphql-apis/blob/master/README.md A service that provides GraphQL API mocking, allowing developers to simulate GraphQL endpoints for testing. ```APIDOC ## FakeQL API ### Description GraphQL API mocking as a service. ### Method *Likely POST for GraphQL requests.* ### Endpoint `https://fakeql.com/` ### Parameters *Not specified.* ### Request Example *Not specified.* ### Response #### Success Response (200) *Response structure depends on the mocked data.* #### Response Example *Not specified.* ``` -------------------------------- ### Google Directions API (GraphQL Wrapper) Source: https://github.com/apis-guru/graphql-apis/blob/master/README.md A GraphQL wrapper for the Google Directions API, providing directions data through a GraphQL interface. ```APIDOC ## Google Directions API (GraphQL Wrapper) ### Description GraphQL wrapper for google directions API. ### Method *Likely POST for GraphQL queries.* ### Endpoint `https://directions-graphql.herokuapp.com/graphql` ### Parameters *Not specified.* ### Request Example *Not specified.* ### Response #### Success Response (200) *Response structure depends on the specific GraphQL query.* #### Response Example *Not specified.* ``` -------------------------------- ### Bitquery API Source: https://github.com/apis-guru/graphql-apis/blob/master/README.md Provides on-chain blockchain analytics. Includes a direct GraphiQL endpoint for querying blockchain data. ```APIDOC ## Bitquery API ### Description Provides on-chain blockchain analytics. ### GraphiQL Endpoint [Try it!](https://graphql.bitquery.io) ### Documentation [Docs](https://bitquery.io/blog/working-with-blockchain-data) ``` -------------------------------- ### Query Ethereum Transfers using cURL (Bash) Source: https://context7.com/apis-guru/graphql-apis/llms.txt This cURL command demonstrates how to query Ethereum data using the Bitquery GraphQL endpoint. It requires a valid API key and sends a JSON payload containing the GraphQL query. ```bash # Using curl with Bitquery curl -X POST https://graphql.bitquery.io \ -H "Content-Type: application/json" \ -H "X-API-KEY: YOUR_API_KEY" \ -d '{"query":"{ ethereum { blocks(options: {limit: 5, desc: \"height\"}) { height timestamp { time } } } }"}' ``` -------------------------------- ### Query GitHub Repositories (GraphQL) Source: https://context7.com/apis-guru/graphql-apis/llms.txt Query GitHub repositories, issues, pull requests, users, and organizations using GitHub's official GraphQL v4 API. This snippet demonstrates fetching user repositories with pagination and sorting by update time. ```graphql query GetUserRepos { user(login: "octocat") { name repositories(first: 10, orderBy: {field: UPDATED_AT, direction: DESC}) { totalCount edges { node { name description stargazerCount forkCount primaryLanguage { name color } updatedAt } } } } } ``` -------------------------------- ### EAN-Search API Source: https://github.com/apis-guru/graphql-apis/blob/master/README.md Allows searching for barcodes and products through a GraphQL API. Offers a GraphiQL endpoint and relevant documentation. ```APIDOC ## EAN-Search API ### Description Search barcodes and products using a GraphQL API. ### GraphiQL Endpoint [Try it!](https://api.ean-search.org/graphql) ### Documentation [Docs](https://www.ean-search.org/blog/graphql-ean-api.html) ``` -------------------------------- ### Fetch Weather Data using cURL (Bash) Source: https://context7.com/apis-guru/graphql-apis/llms.txt This bash command uses curl to send a POST request to a weather GraphQL API to fetch the actual temperature for a specified city. ```bash curl -X POST https://graphql-weather-api.herokuapp.com/ \ -H "Content-Type: application/json" \ -d '{"query":"{ getCityByName(name: \"Paris\") { name weather { temperature { actual } } } "}' ``` -------------------------------- ### Favware GraphQL Pokémon API Source: https://context7.com/apis-guru/graphql-apis/llms.txt Provides comprehensive Pokémon data for generations 1-8, including abilities, moves, items, learnsets, and type matchups. ```APIDOC ## POST / ### Description Access detailed Pokémon data covering generations 1-8, including stats, types, abilities, evolutions, and type effectiveness. ### Method POST ### Endpoint https://graphqlpokemon.favware.tech ### Parameters #### Query Parameters * **query** (string) - Required - The GraphQL query string. ### Request Example ```json { "query": "query GetPokemonDetailed {\n getPokemon(pokemon: charizard) {\n num\n species\n types\n abilities {\n first\n second\n hidden\n }\n baseStats {\n hp\n attack\n defense\n specialattack\n specialdefense\n speed\n }\n typeEffectiveness {\n normal\n fire\n water\n electric\n grass\n }\n evolutions {\n species\n level\n }\n }\n}" } ``` ### Response #### Success Response (200) - **data** (object) - The result of the GraphQL query. #### Response Example ```json { "data": { "getPokemon": { "num": 6, "species": "Charizard", "types": [ "Fire", "Flying" ], "abilities": { "first": "Blaze", "second": null, "hidden": "Solar Power" }, "baseStats": { "hp": 78, "attack": 84, "defense": 78, "specialattack": 109, "specialdefense": 85, "speed": 100 }, "typeEffectiveness": { "normal": 1, "fire": 0.5, "water": 2, "electric": 2, "grass": 0.5 }, "evolutions": [ { "species": "Charmeleon", "level": 16 } ] } } } ``` ``` -------------------------------- ### SpaceX GraphQL API Source: https://context7.com/apis-guru/graphql-apis/llms.txt Query data about SpaceX launches, rockets, capsules, and missions through a community-maintained GraphQL endpoint. ```APIDOC ## POST /graphql ### Description Query data related to SpaceX launches, including past and upcoming missions, rocket details, and links. ### Method POST ### Endpoint https://api.spacex.land/graphql/ ### Parameters #### Query Parameters * **query** (string) - Required - The GraphQL query string. ### Request Example ```json { "query": "query GetRecentLaunches {\n launchesPast(limit: 10) {\n mission_name\n launch_date_utc\n launch_success\n rocket {\n rocket_name\n rocket_type\n }\n links {\n video_link\n article_link\n mission_patch\n }\n launch_site {\n site_name_long\n }\n }\n}" } ``` ### Response #### Success Response (200) - **data** (object) - The result of the GraphQL query. #### Response Example ```json { "data": { "launchesPast": [ { "mission_name": "Starlink-15 (v1.0)", "launch_date_utc": "2020-11-22T19:44:00.000Z", "launch_success": true, "rocket": { "rocket_name": "Falcon 9", "rocket_type": "Fairing" }, "links": { "video_link": "https://www.youtube.com/watch?v=Bn7z5Y50gN0", "article_link": "https://www.space.com/spacex-starlink-15-mission-success", "mission_patch": "https://images2.imgbox.com/94/37/9rgoJklA_o.png" }, "launch_site": { "site_name_long": "Space Launch Complex 40" } } ] } } ``` ```