Scrapiq Billing API

The Billing API from Scrapiq — 3 operation(s) for billing.

GitHub OpenAPI

Operations 3

GET /v1/billing/checkout Billing Checkout #
GET /v1/billing/confirm Billing Confirm #
POST /v1/billing/webhook Billing Webhook #

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/scrapiq-io:scrapiq-io-billing-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

scrapiq-io-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Scrapiq Billing API
  description: Turn any URL into clean, structured JSON for LLM/RAG pipelines. Submit a URL, optionally with a JSON schema, and get back clean text, markdown, or structured fields ready for fine-tuning or RAG ingestion.
  contact:
    name: Scrapiq
    url: https://github.com/NG-PR0JECT/scrapiq
  license:
    name: MIT
  version: 0.1.0
tags:
- name: Billing
paths:
  /v1/billing/checkout:
    get:
      tags:
      - Billing
      summary: Billing Checkout
      description: 'Return a checkout URL for upgrading to `plan`.


        In stub mode (no Polar token) the URL points at our own confirm endpoint.'
      operationId: billing_checkout_v1_billing_checkout_get
      parameters:
      - name: plan
        in: query
        required: false
        schema:
          type: string
          default: pro
          title: Plan
      - name: email
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Email
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckoutResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/billing/confirm:
    get:
      tags:
      - Billing
      summary: Billing Confirm
      description: 'Stub-mode simulated checkout success — upgrades the user''s plan.


        Only meaningful until a real Polar.sh token is configured. In production

        (token set) this endpoint returns 404 and upgrades flow via the webhook.


        When the client accepts HTML (a browser), redirect back to /pricing with a

        success flag instead of returning raw JSON.'
      operationId: billing_confirm_v1_billing_confirm_get
      parameters:
      - name: plan
        in: query
        required: false
        schema:
          type: string
          default: pro
          title: Plan
      - name: email
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Email
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/billing/webhook:
    post:
      tags:
      - Billing
      summary: Billing Webhook
      description: Polar.sh webhook receiver. Updates a user's plan on payment events.
      operationId: billing_webhook_v1_billing_webhook_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Billing Webhook V1 Billing Webhook Post
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CheckoutResponse:
      properties:
        plan:
          type: string
          title: Plan
        email:
          type: string
          title: Email
        checkout_url:
          type: string
          title: Checkout Url
        provider:
          type: string
          title: Provider
      type: object
      required:
      - plan
      - email
      - checkout_url
      - provider
      title: CheckoutResponse
      description: A checkout URL for upgrading to a paid plan.