Free Fake Json API

Free JSON API for testing, frontend development, prototyping and GraphQL

List of APIs

Users

1000 users with random names, countries and companies
https://testapi.devtoolsdaily.com/users
Example fake data:
{
  "id": 1,
  "firstName": "Jerry",
  "lastName": "Parker",
  "countryCode": "CF",
  "companyId": 45
}
API call examples:
https://testapi.devtoolsdaily.com/users/fetch all users
https://testapi.devtoolsdaily.com/users?limit=10limit results to 10
https://testapi.devtoolsdaily.com/users?limit=10&countryCode=USfilter by country code and limit. You can filter by any field from the schema.
https://testapi.devtoolsdaily.com/users/1get user by ID 1

Countries

All countries with name, iso2 and iso3 codes
https://testapi.devtoolsdaily.com/countries
Example fake data:
{
  "name": "United States of America (the)",
  "iso2": "US",
  "iso3": "USA"
}
API call examples:
https://testapi.devtoolsdaily.com/countries/fetch all countries
https://testapi.devtoolsdaily.com/countries?limit=10limit results to 10
https://testapi.devtoolsdaily.com/countries?iso3=USAfind by iso3 code. You can filter by any field from the schema.
https://testapi.devtoolsdaily.com/countries/USget country by ID (ISO2)

Companies

Top 50 companies in the world with their countries, market cap (from couple years ago) and HQ country
https://testapi.devtoolsdaily.com/companies
Example fake data:
{
  "name": "Apple",
  "countryCode": "US",
  "market_cap": "911.1",
  "id": 1
}
API call examples:
https://testapi.devtoolsdaily.com/companies/fetch all companies
https://testapi.devtoolsdaily.com/companies?limit=10limit results to 10
https://testapi.devtoolsdaily.com/companies?countryCode=USfind companies by country. You can filter by any field from the schema.
https://testapi.devtoolsdaily.com/companies/1get company by ID

GraphQL

GraphQL endpoint on top of the data sources above
https://testapi.devtoolsdaily.com/graphQL
query ExampleQuery {
    users(limit: 3, firstName:"Bryan") {
        firstName
        countryCode
        country {
            name
        }
        company {
            name
        }
    }
    countries(iso2: "RU") {
        iso3
    }
}

{
    "data": {
      "users": [
        {
          "firstName": "Bryan",
          "countryCode": "PW",
          "country": {
            "name": "Palau"
          },
          "company": {
            "name": "Mastercard"
          }
        },
        {
          "firstName": "Bryan",
          "countryCode": "CG",
          "country": {
            "name": "Congo (the)"
          },
          "company": {
            "name": "China Construction Bank"
          }
        },
        {
          "firstName": "Bryan",
          "countryCode": "BV",
          "country": {
            "name": "Bouvet Island"
          },
          "company": {
            "name": "Chevron"
          }
        }
      ],
      "countries": [
        {
          "iso3": "RUS"
        }
      ]
    }
  }