google

Google Places

Each source declares supported modes, a JSON input schema, and an upper-bound credit estimate.

realtime1 credits estimated

Request example

Send parameters inside params. The server rejects unknown fields.

google_places
{
  "params": {
    "query": "<query>"
  },
  "source": "google_places"
}

Input JSON Schema

schema.json
{
  "additionalProperties": false,
  "properties": {
    "query": {
      "maxLength": 2000,
      "minLength": 1,
      "type": "string"
    },
    "gl": {
      "maxLength": 2,
      "minLength": 2,
      "pattern": "^[A-Za-z]{2}$",
      "type": "string"
    },
    "hl": {
      "maxLength": 35,
      "minLength": 1,
      "pattern": "^[A-Za-z0-9-]+$",
      "type": "string"
    },
    "location": {
      "maxLength": 200,
      "minLength": 1,
      "type": "string"
    },
    "num": {
      "maximum": 100,
      "minimum": 1,
      "type": "integer"
    },
    "page": {
      "maximum": 100,
      "minimum": 1,
      "type": "integer"
    },
    "tbs": {
      "maxLength": 200,
      "minLength": 1,
      "type": "string"
    },
    "autocorrect": {
      "type": "boolean"
    }
  },
  "required": [
    "query"
  ],
  "type": "object"
}