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: Recolor the Past AI tools and developer Packs 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: Packs
paths:
/api/v1/packs:
servers:
- url: https://api.recolorthepast.com
description: Authenticated developer API (API key or OAuth 2.1)
get:
operationId: getPacks
summary: Current credit packs and Pro plan prices
responses:
'200':
description: Available packs, currency and plans
content:
application/json:
schema:
type: object
tags:
- Packs
components:
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