Toast · JSON Structure

Restaurants Location Structure

Information about the physical location of a restaurant.

Type: object Properties: 11
Food ServicePoint-of-SaleRestaurantHospitality

Location is a JSON Structure definition published by Toast, describing 11 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

address1 address2 city stateCode administrativeArea zipCode country phone phoneCountryCode latitude longitude

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/toast/refs/heads/main/json-structure/restaurants-location-structure.json",
  "name": "Location",
  "description": "Information about the physical location of a restaurant.",
  "type": "object",
  "properties": {
    "address1": {
      "type": "string",
      "description": "The first line of the street address of the restaurant."
    },
    "address2": {
      "type": "string",
      "description": "The second line of the street address of the restaurant."
    },
    "city": {
      "type": "string",
      "description": "The city or town of the restaurant. restaurant."
    },
    "stateCode": {
      "type": "string",
      "description": "Deprecated. Get the state or province of a restaurant in the\n`administrativeArea` value.\n\nThe abbreviation of the state or province of the restaurant.\n"
    },
    "administrativeArea": {
      "type": "string",
      "description": "The name of the geographical division (for example, state, province,\nor county) that the restaurant is located in.\n"
    },
    "zipCode": {
      "type": "string",
      "description": "The ZIP or postal code of the restaurant."
    },
    "country": {
      "type": "string",
      "description": "The nation of the restaurant."
    },
    "phone": {
      "type": "string"
    },
    "phoneCountryCode": {
      "type": "string",
      "description": "A numeric code corresponding to one or more countries,\nused as a telephone number prefix when making \ninternational telephone calls.\n"
    },
    "latitude": {
      "type": "double",
      "description": "The north/south geographic coordinate of the restaurant, in decimal degrees."
    },
    "longitude": {
      "type": "double",
      "description": "The east/west geographic coordinate of the restaurant, in decimal degrees."
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/restaurants-location-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.