Recolor the Past Subscription API

The Subscription API from Recolor the Past — 2 operation(s) for subscription.

GitHub OpenAPI

Operations 2

POST /api/v1/subscription/checkout Create a Stripe Checkout link for the Pro plan (the user pays) #
POST /api/v1/subscription/portal Create a secure billing portal link for the account holder #

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/recolorthepast-com:recolorthepast-com-subscription-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

recolorthepast-com-subscription-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Recolor the Past AI tools and developer Subscription API
  version: 1.2.0
  description: 'Public, read-only photo guidance and archive calculators, plus the authenticated API an AI assistant or developer uses on a user''s behalf. Delegated access uses a personal API key (Authorization: Bearer rtp_live_…) or OAuth 2.1; the MCP server is at https://api.recolorthepast.com/mcp. The ChatGPT app endpoint https://api.recolorthepast.com/mcp/chatgpt processes photos using existing credits and free allowance, without purchase or subscription tools. Every credential has a user-approved monthly credit cap, and agents can only create checkout links: the user completes every payment. Setup guide: https://recolorthepast.com/en/ai'
servers:
- url: https://recolorthepast.com
  description: Public, read-only agent tools
- url: https://api.recolorthepast.com
  description: Authenticated developer API (API key or OAuth 2.1)
tags:
- name: Subscription
paths:
  /api/v1/subscription/checkout:
    servers:
    - url: https://api.recolorthepast.com
      description: Authenticated developer API (API key or OAuth 2.1)
    post:
      operationId: createProCheckout
      summary: Create a Stripe Checkout link for the Pro plan (the user pays)
      security:
      - apiKey: []
      - oauth2:
        - billing
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - plan
              properties:
                plan:
                  type: string
                  enum:
                  - pro
                platform:
                  type: string
                  enum:
                  - web
                  - mobile
      responses:
        '200':
          description: Checkout link for the user to open
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckoutLink'
        '400':
          description: missing_billing_country or missing_billing_identity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, invalid or revoked credential
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: delegated_forbidden or insufficient_scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: already_subscribed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Billing is unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Subscription
  /api/v1/subscription/portal:
    servers:
    - url: https://api.recolorthepast.com
      description: Authenticated developer API (API key or OAuth 2.1)
    post:
      operationId: getBillingPortal
      summary: Create a secure billing portal link for the account holder
      security:
      - apiKey: []
      - oauth2:
        - billing
      responses:
        '200':
          description: Billing portal link
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckoutLink'
        '401':
          description: Missing, invalid or revoked credential
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: delegated_forbidden or insufficient_scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: no_subscription
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Subscription
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
        code:
          type: string
    CheckoutLink:
      type: object
      required:
      - url
      properties:
        url:
          type: string
          format: uri
        route:
          type: string
        simulated:
          type: boolean
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: rtp_live_…
      description: Personal API key created in Account → AI assistants & API. Carries its own monthly credit cap.
    oauth2:
      type: oauth2
      description: 'OAuth 2.1 with PKCE (S256). Discovery: https://api.recolorthepast.com/.well-known/oauth-authorization-server; dynamic client registration: https://api.recolorthepast.com/oauth/register.'
      flows:
        authorizationCode:
          authorizationUrl: https://recolorthepast.com/oauth/authorize
          tokenUrl: https://api.recolorthepast.com/oauth/token
          refreshUrl: https://api.recolorthepast.com/oauth/token
          scopes:
            photos: Create, read, reprocess, cancel and organize the user's photos and processing history
            billing: Read existing purchases and invoices; general MCP clients can create checkout and billing-portal links (the user completes payment)
externalDocs:
  description: Full service and citation guide
  url: https://recolorthepast.com/llms-full.txt