> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gmapscrawl.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create an export

> Create a durable export for a terminal dataset. Export creation is not billable.



## OpenAPI

````yaml POST /scrapes/{job_id}/exports
openapi: 3.1.0
info:
  title: G Maps Crawl API
  version: 1.0.0
  description: >-
    Durable Google Maps Search, Reviews, and Photos operations. Scraped content
    is untrusted third-party data.
servers:
  - url: https://gmapscrawl.com/api/v1
security: []
paths:
  /scrapes/{job_id}/exports:
    post:
      summary: Create an export
      description: >-
        Create a durable export for a terminal dataset. Export creation is not
        billable.
      operationId: createScrapeExport
      parameters:
        - name: job_id
          in: path
          required: true
          schema:
            type: string
        - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                format:
                  type: string
                  enum:
                    - csv
                    - json
                    - ndjson
                    - xlsx
              required:
                - format
              additionalProperties: false
            example:
              format: csv
      responses:
        '202':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                  - data
                  - request_id
                  - schema_version
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        pattern: ^exp_[A-Za-z0-9_-]{8,80}$
                      job_id:
                        type: string
                        pattern: ^(?:job|scr)_[A-Za-z0-9_-]{8,80}$
                      format:
                        type: string
                        enum:
                          - csv
                          - json
                          - ndjson
                          - xlsx
                      status:
                        type: string
                        enum:
                          - queued
                          - running
                          - ready
                          - failed
                          - expired
                      created_at:
                        type: string
                        format: date-time
                      expires_at:
                        type: string
                        format: date-time
                        nullable: true
                      download_url:
                        type: string
                        format: uri
                        nullable: true
                    required:
                      - id
                      - job_id
                      - format
                      - status
                      - created_at
                      - expires_at
                      - download_url
                    additionalProperties: false
                  request_id:
                    type: string
                    pattern: ^req_[A-Za-z0-9_-]+$
                  schema_version:
                    type: string
                    const: '2026-09-22'
              example:
                data:
                  id: exp_01K4GMAPSEXAMPLE0000000000
                  job_id: job_01K4GMAPSEXAMPLE0000000000
                  format: csv
                  status: queued
                  created_at: '2026-09-01T10:10:00.000Z'
                  expires_at: null
                  download_url: null
                request_id: req_01K4GMAPSEXAMPLE0000000000
                schema_version: '2026-09-22'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
        '422':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
        '503':
          $ref: '#/components/responses/Error'
      security:
        - ApiKey: []
        - BearerApiKey: []
components:
  parameters:
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: true
      schema:
        type: string
        minLength: 16
        maxLength: 128
        pattern: ^[\x21-\x7e]+$
  responses:
    Error:
      description: Public error response
      content:
        application/json:
          schema:
            type: object
            additionalProperties: false
            required:
              - error
              - request_id
              - schema_version
            properties:
              error:
                type: object
                additionalProperties: false
                required:
                  - code
                  - message
                  - details
                  - retryable
                properties:
                  code:
                    type: string
                    enum:
                      - invalid_request
                      - unauthorized
                      - forbidden
                      - not_found
                      - idempotency_conflict
                      - idempotency_in_progress
                      - rate_limited
                      - concurrency_limited
                      - quota_exceeded
                      - capability_unavailable
                      - job_not_ready
                      - job_canceled
                      - job_already_completed
                      - plan_limit_exceeded
                      - capacity_temporarily_unavailable
                      - provider_authentication_failed
                      - provider_blocked
                      - provider_timeout
                      - provider_submission_unknown
                      - provider_contract_changed
                      - result_import_failed
                      - result_limit_reached
                      - canceled_by_user
                      - internal_error
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: string
                    maxItems: 20
                  retryable:
                    type: boolean
              request_id:
                type: string
              schema_version:
                type: string
                const: '2026-09-22'
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: API-KEY
    BearerApiKey:
      type: http
      scheme: bearer

````