Maps Harvest Jobs API

The Jobs API from Maps Harvest — 10 operation(s) for jobs.

GitHub OpenAPI

Operations 10

POST /jobs/local-start Local Start #
PATCH /jobs/{job_id}/progress Local Progress #
POST /jobs/{job_id}/local-complete Local Complete #
POST /jobs/{job_id}/local-fail Local Fail #
POST /jobs/{job_id}/resume Resume Job #
GET /jobs/{job_id} Get Job #
GET /jobs List Jobs #
POST /jobs/{job_id}/send-webhook Send Webhook Manual #
POST /jobs/{job_id}/download-url Get Signed Download Url #
GET /jobs/{job_id}/download Download Results #

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/mapsharvest-com:mapsharvest-com-jobs-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

mapsharvest-com-jobs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Maps Scraper Jobs API
  version: 0.2.0
tags:
- name: Jobs
paths:
  /jobs/local-start:
    post:
      summary: Local Start
      description: 'Register a local scrape job. Enterprise only.

        Returns {job_id, cities: [{city, state}, ...]} so the CLI knows where to scrape.'
      operationId: local_start_jobs_local_start_post
      parameters:
      - required: false
        schema:
          type: string
          title: Authorization
        name: authorization
        in: header
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LocalStartRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Jobs
  /jobs/{job_id}/progress:
    patch:
      summary: Local Progress
      description: 'Non-fatal progress ping from the CLI. Updates the Supabase row so the

        dashboard can show live progress for local jobs.'
      operationId: local_progress_jobs__job_id__progress_patch
      parameters:
      - required: true
        schema:
          type: string
          title: Job Id
        name: job_id
        in: path
      - required: false
        schema:
          type: string
          title: Authorization
        name: authorization
        in: header
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LocalProgressRequest'
        required: true
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Jobs
  /jobs/{job_id}/local-complete:
    post:
      summary: Local Complete
      description: 'Multipart upload endpoint called by the CLI after scraping is done.

        Stores the CSV in Supabase Storage and deducts credits atomically.'
      operationId: local_complete_jobs__job_id__local_complete_post
      parameters:
      - required: true
        schema:
          type: string
          title: Job Id
        name: job_id
        in: path
      - required: false
        schema:
          type: string
          title: Authorization
        name: authorization
        in: header
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_local_complete_jobs__job_id__local_complete_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Jobs
  /jobs/{job_id}/local-fail:
    post:
      summary: Local Fail
      description: CLI reports a fatal scrape error. Marks the job failed with no credit charge.
      operationId: local_fail_jobs__job_id__local_fail_post
      parameters:
      - required: true
        schema:
          type: string
          title: Job Id
        name: job_id
        in: path
      - required: false
        schema:
          type: string
          title: Authorization
        name: authorization
        in: header
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LocalFailRequest'
        required: true
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Jobs
  /jobs/{job_id}/resume:
    post:
      summary: Resume Job
      description: 'Continue a scrape that stopped, failed, or was interrupted by a restart.


        Backs the dashboard''s "Continue scraping" button. Replaying the config from

        the browser would resume with whatever is in the form right now, which is

        not necessarily what the job ran with -- the stored request is. Everything

        else (credit check, per-plan concurrency, the admin''s maintenance pause,

        checkpoint skipping) is the normal /scrape path, so a resume can''t

        sidestep a limit.'
      operationId: resume_job_jobs__job_id__resume_post
      parameters:
      - required: true
        schema:
          type: string
          title: Job Id
        name: job_id
        in: path
      - required: false
        schema:
          type: string
          title: Authorization
        name: authorization
        in: header
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScrapeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Jobs
  /jobs/{job_id}:
    get:
      summary: Get Job
      operationId: get_job_jobs__job_id__get
      parameters:
      - required: true
        schema:
          type: string
          title: Job Id
        name: job_id
        in: path
      - required: false
        schema:
          type: string
          title: Authorization
        name: authorization
        in: header
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Jobs
  /jobs:
    get:
      summary: List Jobs
      operationId: list_jobs_jobs_get
      parameters:
      - required: false
        schema:
          type: integer
          title: Limit
          default: 20
        name: limit
        in: query
      - required: false
        schema:
          type: string
          title: Authorization
        name: authorization
        in: header
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Jobs
  /jobs/{job_id}/send-webhook:
    post:
      summary: Send Webhook Manual
      description: Manually fire a webhook for a completed/stopped job.
      operationId: send_webhook_manual_jobs__job_id__send_webhook_post
      parameters:
      - required: true
        schema:
          type: string
          title: Job Id
        name: job_id
        in: path
      - required: false
        schema:
          type: string
          title: Authorization
        name: authorization
        in: header
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WebhookTriggerRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Jobs
  /jobs/{job_id}/download-url:
    post:
      summary: Get Signed Download Url
      description: 'Returns a short-lived signed URL.

        Preferred path: Supabase Storage signed URL (survives Railway redeploys).

        Fallback: local-file signed URL if storage upload hasn''t happened yet.'
      operationId: get_signed_download_url_jobs__job_id__download_url_post
      parameters:
      - required: true
        schema:
          type: string
          title: Job Id
        name: job_id
        in: path
      - required: false
        schema:
          type: string
          title: Fmt
          default: csv
        name: fmt
        in: query
      - required: false
        schema:
          type: string
          title: Authorization
        name: authorization
        in: header
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Jobs
  /jobs/{job_id}/download:
    get:
      summary: Download Results
      description: 'Download a job''s results in CSV, XLSX, or JSON.


        fmt: "csv" (default), "xlsx", or "json". The scrape is always stored as

        CSV on disk; xlsx/json are converted on the fly with pandas.

        Accepts a valid signed link (u/e/s query params), or an Authorization:

        Bearer key or session token, as the API docs show.'
      operationId: download_results_jobs__job_id__download_get
      parameters:
      - required: true
        schema:
          type: string
          title: Job Id
        name: job_id
        in: path
      - required: false
        schema:
          type: string
          title: U
          default: ''
        name: u
        in: query
      - required: false
        schema:
          type: integer
          title: E
          default: 0
        name: e
        in: query
      - required: false
        schema:
          type: string
          title: S
          default: ''
        name: s
        in: query
      - required: false
        schema:
          type: string
          title: Fmt
          default: csv
        name: fmt
        in: query
      - required: false
        schema:
          type: string
          title: Authorization
        name: authorization
        in: header
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Jobs
components:
  schemas:
    Body_local_complete_jobs__job_id__local_complete_post:
      properties:
        rows_written:
          type: string
          title: Rows Written
        csv_file:
          type: string
          format: binary
          title: Csv File
      type: object
      required:
      - rows_written
      - csv_file
      title: Body_local_complete_jobs__job_id__local_complete_post
    ScrapeResponse:
      properties:
        job_id:
          type: string
          title: Job Id
        status:
          type: string
          title: Status
        message:
          type: string
          title: Message
        resumed_from:
          type: string
          title: Resumed From
      type: object
      required:
      - job_id
      - status
      - message
      title: ScrapeResponse
    LocalFailRequest:
      properties:
        error:
          type: string
          maxLength: 500
          title: Error
          default: Unknown error
      type: object
      title: LocalFailRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    WebhookTriggerRequest:
      properties:
        webhook_url:
          type: string
          title: Webhook Url
        webhook_fields:
          items: {}
          type: array
          title: Webhook Fields
      type: object
      required:
      - webhook_url
      title: WebhookTriggerRequest
    LocalProgressRequest:
      properties:
        cities_done:
          type: integer
          minimum: 0.0
          title: Cities Done
        cities_total:
          type: integer
          minimum: 0.0
          title: Cities Total
        rows_written:
          type: integer
          minimum: 0.0
          title: Rows Written
        last_city:
          type: string
          maxLength: 200
          title: Last City
      type: object
      required:
      - cities_done
      - cities_total
      - rows_written
      title: LocalProgressRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    LocalStartRequest:
      properties:
        query:
          type: string
          maxLength: 500
          minLength: 1
          title: Query
        states:
          type: string
          maxLength: 2000
          minLength: 1
          title: States
        cities:
          type: string
          maxLength: 5000
          title: Cities
        preset:
          type: string
          maxLength: 64
          title: Preset
          default: core
        fields:
          type: string
          maxLength: 1000
          title: Fields
        name:
          type: string
          maxLength: 200
          title: Name
        campaign_id:
          type: string
          maxLength: 64
          title: Campaign Id
        max_results_per_city:
          type: integer
          maximum: 500.0
          minimum: 1.0
          title: Max Results Per City
          default: 60
        min_rating:
          type: number
          title: Min Rating
        min_reviews:
          type: integer
          title: Min Reviews
        max_reviews:
          type: integer
          title: Max Reviews
        require_website:
          type: boolean
          title: Require Website
        require_phone:
          type: boolean
          title: Require Phone
        country:
          type: string
          maxLength: 20
          title: Country
          default: us
      type: object
      required:
      - query
      - states
      title: LocalStartRequest