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.
openapi: 3.2.0
info:
title: Google Maps Scraper Checkout API
version: 0.2.0
tags:
- name: Checkout
paths:
/checkout:
post:
summary: Stripe Checkout
description: 'Opens Stripe Checkout for a plan. Response:
{"url", "session_id", "trial": bool, "trial_days": 2|0, "trial_credits": int,
"trial_reason": null | "used" | "unverified" | "unavailable", "promo": bool}.
Since 2026-11-18 new trials are closed (stripe_handler.TRIALS_OPEN), so
"trial" is always false, trial_days and trial_credits 0, trial_reason
null, and the Checkout charges today. While TRIALS_OPEN is on,
trial_reason says why a requested trial wasn''t given (null otherwise).
promo: the Black Friday offer (50% off forever, 25% more credits) is on
this Checkout; trial_credits already includes its bonus. 503 when the
offer''s coupon can''t be confirmed in Stripe (no full-price Checkout is
opened in its place).
Refused before anything is opened (stripe_handler.checkout_gate):
400 "Invalid plan" for a price the backend doesn''t sell (credit step
prices are looked up in Stripe first), legacy v1/v2 step prices and the
old Scale $129 included; 400 "You are already on this
plan" for the price of the account''s own live subscription; 403
"Enterprise is by application. ..." for a Custom/Enterprise price
without an approved application (accounts already on a live Enterprise
subscription are let through); 503 when the profile or the approval
can''t be read (fail closed).'
operationId: stripe_checkout_checkout_post
parameters:
- required: false
schema:
type: string
title: Authorization
name: authorization
in: header
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CheckoutRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Checkout
components:
schemas:
CheckoutRequest:
properties:
price_id:
type: string
title: Price Id
success_url:
type: string
title: Success Url
cancel_url:
type: string
title: Cancel Url
trial:
type: boolean
title: Trial
default: false
type: object
required:
- price_id
- success_url
- cancel_url
title: CheckoutRequest
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
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