ScrapeNest Google Maps API

Reviews for a Google Maps place.

GitHub OpenAPI

Operations 2

POST /v1/scrape/google-maps/reviews Get reviews for a Google Maps place #
POST /v1/scrape/google-maps/reviews/async Start a background Google Maps reviews run #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/scrapenest-dev:scrapenest-dev-google-maps-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

scrapenest-dev-google-maps-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ScrapeNest Google Maps API
  description: 'AI search + scraping as an API for developers and AI agents. Send your API key as `Authorization: Bearer sn_...` on every call. Errors are JSON envelopes. The API never answers 502 or 504: an upstream or capacity failure is a 503 with Retry-After.'
  version: 1.0.0
  termsOfService: https://scrapenest.dev/terms
  contact:
    name: ScrapeNest support
    url: https://scrapenest.dev/support
    email: support@scrapenest.dev
servers:
- url: https://scrapenest.dev
security:
- bearerAuth: []
tags:
- name: Google Maps
  description: Reviews for a Google Maps place.
paths:
  /v1/scrape/google-maps/reviews:
    post:
      tags:
      - Google Maps
      summary: Get reviews for a Google Maps place
      operationId: mapsReviews
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MapsReviewsRequest'
      responses:
        '200':
          description: The reviews. This endpoint streams its response, so any error once the scrape has started arrives in this 200 body as a StreamedErrorEnvelope.
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/MapsReviewsResponse'
                - $ref: '#/components/schemas/StreamedErrorEnvelope'
                title: Response 200 Post Google Maps Reviews V1 Scrape Google Maps Reviews Post
        '402':
          description: Insufficient credits, the request's worst-case cost would pass the overage cap, or the daily bandwidth cap is exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: Rate limited, or paused after an abnormal rate of failed requests.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '422':
          description: Error response in ScrapeNest's standard envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        4XX:
          description: Error response in ScrapeNest's standard envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        5XX:
          description: Error response in ScrapeNest's standard envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      description: Google Maps reviews. Returns up to ~10,000 unique reviews, deduplicated and sorted newest-first. Practical per-place ceiling lands around ~10K on places with >20K total reviews. Auto-downgrades to 40c when 50 or fewer reviews are returned. For pulls above ~700 reviews, use the /async endpoint.
      externalDocs:
        description: Guide and examples
        url: https://scrapenest.dev/docs#ep-maps
  /v1/scrape/google-maps/reviews/async:
    post:
      tags:
      - Google Maps
      summary: Start a background Google Maps reviews run
      operationId: mapsReviewsAsync
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MapsReviewsRequest'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScrapeRunCreatedResponse'
        '422':
          description: Error response in ScrapeNest's standard envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        4XX:
          description: Error response in ScrapeNest's standard envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        5XX:
          description: Error response in ScrapeNest's standard envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      description: Submit a Maps reviews scrape for background processing. Returns immediately with run_id; poll /v1/scrape/runs/{run_id} for the result. Use this when max_reviews > 700 (the synchronous request can exceed the request time limit).
      externalDocs:
        description: Guide and examples
        url: https://scrapenest.dev/docs#ep-maps-async
components:
  schemas:
    ScrapeRunCreatedResponse:
      properties:
        run_id:
          type: string
          title: Run Id
          description: Unique identifier for this async run. Poll its status at status_url.
        status:
          type: string
          enum:
          - queued
          - running
          - completed
          - failed
          - cancelled
          title: Status
        status_url:
          type: string
          title: Status Url
          description: Absolute path to GET for status + result.
        created_at:
          type: string
          format: date-time
          title: Created At
        expires_at:
          type: string
          format: date-time
          title: Expires At
      type: object
      required:
      - run_id
      - status
      - status_url
      - created_at
      - expires_at
      title: ScrapeRunCreatedResponse
    ErrorDetail:
      properties:
        type:
          anyOf:
          - type: string
          - type: 'null'
          title: Type
          description: Machine-readable error type for this item.
        loc:
          anyOf:
          - items: {}
            type: array
          - type: 'null'
          title: Loc
          description: Path to the offending field, e.g. ["body", "query"].
        msg:
          type: string
          title: Msg
          description: Human-readable description of this error item.
      additionalProperties: true
      type: object
      required:
      - msg
      title: ErrorDetail
    ErrorEnvelope:
      properties:
        error:
          $ref: '#/components/schemas/ErrorBody'
      type: object
      required:
      - error
      title: ErrorEnvelope
    MapsReviewsRequest:
      properties:
        place_id:
          type: string
          maxLength: 2000
          minLength: 2
          title: Place Id
          description: The place. Accepts its name with the city ("Katz's Delicatessen, New York"), any Google Maps URL of it, a maps.app.goo.gl share link, a `ChIJ...` place ID or a `0x...:0x...` place ID. A name that matches more than one place returns 409 `place_ambiguous` listing the candidates with their place_id values, free of charge. A name that resembles nothing Google Maps found returns 404 `place_not_found` naming the nearest place, also free. May be left out when `place_url` is sent. Also read from a field named `place`, the name the MCP tool uses.
        place_url:
          anyOf:
          - type: string
            maxLength: 2000
          - type: 'null'
          title: Place Url
          description: Optional canonical Google Maps URL for the place. When provided, this URL is used directly to load the place page (skipping FID-based URL construction). Required when the FID stored at Google has been rotated and the legacy short URL would redirect to a generic location. Sent without a `place_id`, the place is read from this URL.
        language:
          type: string
          maxLength: 8
          minLength: 2
          pattern: ^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{2,8})?$
          title: Language
          description: IETF BCP 47 language tag (e.g. 'en', 'pt-BR', 'zh-Hans'). Affects the place name/address language only; review text is whatever the reviewer wrote.
          default: en
        sort:
          type: string
          enum:
          - newest
          - most_relevant
          - highest_rating
          - lowest_rating
          title: Sort
          description: 'Accepted values: newest, most_relevant, highest_rating, lowest_rating. Reviews are returned newest-first regardless of this value. Kept for backward compatibility.'
          default: newest
        max_reviews:
          type: integer
          maximum: 10000.0
          minimum: 1.0
          title: Max Reviews
          description: Hard cap on returned reviews (1-10,000). Returns up to ~10,000 unique reviews, newest-first. On places with >20K total reviews the practical ceiling per request lands around 10,000 unique. Pulls above ~700 should go through the async endpoint.
          default: 200
        cache_ttl_seconds:
          anyOf:
          - type: integer
            maximum: 86400.0
            minimum: 0.0
          - type: 'null'
          title: Cache Ttl Seconds
        include_usage:
          type: boolean
          title: Include Usage
          description: If true, include a `usage` block in the response with credit totals.
          default: false
      type: object
      required:
      - place_id
      title: MapsReviewsRequest
    UsageBlock:
      properties:
        credits:
          type: integer
          title: Credits
          description: Total credits charged for this call.
        breakdown:
          anyOf:
          - additionalProperties:
              type: integer
            type: object
          - type: 'null'
          title: Breakdown
          description: 'Optional per-component breakdown (e.g. {''search'': 1, ''ai_extract'': 5}).'
      type: object
      required:
      - credits
      title: UsageBlock
    ErrorBody:
      properties:
        code:
          type: string
          title: Code
          description: Stable machine-readable error code, e.g. "validation_error".
        message:
          type: string
          title: Message
          description: Human-readable summary of the error.
        details:
          anyOf:
          - items:
              $ref: '#/components/schemas/ErrorDetail'
            type: array
          - type: 'null'
          title: Details
          description: Present on validation errors; one entry per offending field.
        retryable:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Retryable
          description: 'Present on some errors: true when the same request may succeed if retried.'
        retry_after:
          anyOf:
          - type: integer
          - type: 'null'
          title: Retry After
          description: 'Present on rate limits and some throttles: seconds to wait before retrying, the same value as the Retry-After header.'
      additionalProperties: true
      type: object
      required:
      - code
      - message
      title: ErrorBody
    MapsReview:
      properties:
        review_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Review Id
        review_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Review Url
        author_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Author Name
        author_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Author Id
        author_profile_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Author Profile Url
        author_avatar_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Author Avatar Url
        rating:
          anyOf:
          - type: integer
          - type: 'null'
          title: Rating
        text:
          anyOf:
          - type: string
          - type: 'null'
          title: Text
          description: The review text. Absent on a rating-only review (stars with no written text).
        language:
          anyOf:
          - type: string
          - type: 'null'
          title: Language
        relative_time:
          anyOf:
          - type: string
          - type: 'null'
          title: Relative Time
        posted_at:
          anyOf:
          - type: integer
          - type: 'null'
          title: Posted At
        posted_at_iso:
          anyOf:
          - type: string
          - type: 'null'
          title: Posted At Iso
        helpful_count:
          anyOf:
          - type: integer
          - type: 'null'
          title: Helpful Count
        photos:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Photos
        owner_reply:
          anyOf:
          - $ref: '#/components/schemas/OwnerReply'
          - type: 'null'
      type: object
      title: MapsReview
    OwnerReply:
      properties:
        text:
          type: string
          title: Text
        posted_at:
          anyOf:
          - type: integer
          - type: 'null'
          title: Posted At
        posted_at_iso:
          anyOf:
          - type: string
          - type: 'null'
          title: Posted At Iso
      type: object
      required:
      - text
      title: OwnerReply
    StreamedErrorEnvelope:
      properties:
        error:
          $ref: '#/components/schemas/ErrorBody'
        http_status:
          type: integer
          title: Http Status
          description: The HTTP status the error would otherwise have had, e.g. 422 or 503.
      type: object
      required:
      - error
      - http_status
      title: StreamedErrorEnvelope
      description: An error delivered inside a 200 body after the response has started streaming. `http_status` carries the status the error would otherwise have had.
    MapsReviewsResponse:
      properties:
        place_id:
          type: string
          title: Place Id
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        address:
          anyOf:
          - type: string
          - type: 'null'
          title: Address
        rating:
          anyOf:
          - type: number
          - type: 'null'
          title: Rating
        review_count:
          anyOf:
          - type: integer
          - type: 'null'
          title: Review Count
          description: Total reviews Google reports for the place. Absent when the scrape did not read the place header, which can happen on small max_reviews pulls.
        google_maps_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Google Maps Url
        reviews:
          items:
            $ref: '#/components/schemas/MapsReview'
          type: array
          title: Reviews
        star_histogram:
          anyOf:
          - items:
              type: integer
            type: array
          - type: 'null'
          title: Star Histogram
          description: Star-count distribution [1★, 2★, 3★, 4★, 5★] when available from the listing endpoint.
        note:
          anyOf:
          - type: string
          - type: 'null'
          title: Note
        took_ms:
          type: integer
          title: Took Ms
        cache_hit:
          type: boolean
          title: Cache Hit
          default: false
        credits_charged:
          type: integer
          title: Credits Charged
          default: 0
        usage:
          anyOf:
          - $ref: '#/components/schemas/UsageBlock'
          - type: 'null'
      type: object
      required:
      - place_id
      - reviews
      - took_ms
      title: MapsReviewsResponse
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Your ScrapeNest API key, sent as Authorization: Bearer sn_... on every call. Create keys in the dashboard; a key works once the account''s email is verified.'
externalDocs:
  description: Guides, credit costs and error codes
  url: https://scrapenest.dev/docs