Free Online GraphQL Playground

Graphql Schema
type User {
  firstName: String!
  lastName: String!
  countryCode: String!
  country: Country
  companyId: Int!
  company: Company
}

type Company {
  name: String!
  countryCode: String!
  country: Country
}

type Country {
  iso2: String!
  iso3: String!
  name: String!
}

type Query {
  users( 
    country: String
    firstName: String
    lastName: String
    countryCode: String
    limit: Int = 50
  ): [User]!
  countries( 
    iso2: String
    iso3: String
    name: String
    limit: Int = 50
  ): [Country]!
  companies( 
    name: String
    countryCode: String
    limit: Int = 50
  ): [Company]!
}
Enter GraphQL QueryJsonAPICheatsheet
Result JSON
{
  "users": [
    {
      "__typename": "User",
      "firstName": "Bryan",
      "countryCode": "PW",
      "country": {
        "__typename": "Country",
        "name": "Palau"
      },
      "company": {
        "__typename": "Company",
        "name": "Mastercard",
        "country": {
          "__typename": "Country",
          "iso3": "USA"
        }
      }
    },
    {
      "__typename": "User",
      "firstName": "Bryan",
      "countryCode": "CG",
      "country": {
        "__typename": "Country",
        "name": "Congo (the)"
      },
      "company": {
        "__typename": "Company",
        "name": "China Construction Bank",
        "country": {
          "__typename": "Country",
          "iso3": "CHN"
        }
      }
    },
    {
      "__typename": "User",
      "firstName": "Bryan",
      "countryCode": "BV",
      "country": {
        "__typename": "Country",
        "name": "Bouvet Island"
      },
      "company": {
        "__typename": "Company",
        "name": "Chevron",
        "country": {
          "__typename": "Country",
          "iso3": "USA"
        }
      }
    }
  ],
  "countries": [
    {
      "__typename": "Country",
      "iso3": "USA"
    }
  ]
}

FAQ