AimRank Subscriptions API
The Subscriptions API from AimRank — 5 operation(s) for subscriptions.
The Subscriptions API from AimRank — 5 operation(s) for subscriptions.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/aimrank-io:aimrank-io-subscriptions-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: AimRank Subscriptions API
description: Ranking-as-a-Service API — Turn binary comparisons into calibrated rankings with Glicko-2, Bradley-Terry, TrueSkill, and cross-domain transfer learning. Includes webhooks, API keys, RLHF exports, and embeddable widgets.
version: 4.12.0
tags:
- name: Subscriptions
paths:
/api/v1/subscriptions/plans:
get:
tags:
- Subscriptions
summary: List Plans
description: List all active subscription plans.
operationId: list_plans_api_v1_subscriptions_plans_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
/api/v1/subscriptions/my-subscription:
get:
tags:
- Subscriptions
summary: Get My Subscription
description: Get current user's subscription, plan, and usage stats.
operationId: get_my_subscription_api_v1_subscriptions_my_subscription_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
/api/v1/subscriptions/checkout:
post:
tags:
- Subscriptions
summary: Create Checkout
description: Create a Stripe Checkout Session for subscription upgrade.
operationId: create_checkout_api_v1_subscriptions_checkout_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CheckoutRequest'
required: true
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'
/api/v1/subscriptions/portal:
post:
tags:
- Subscriptions
summary: Create Portal Session
description: Create a Stripe Customer Portal session for self-service billing management.
operationId: create_portal_session_api_v1_subscriptions_portal_post
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PortalResponse'
/api/v1/subscriptions/cancel:
post:
tags:
- Subscriptions
summary: Cancel Subscription
description: Cancel subscription at end of current billing period.
operationId: cancel_subscription_api_v1_subscriptions_cancel_post
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CancelResponse'
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
CheckoutResponse:
properties:
url:
type: string
title: Url
type: object
required:
- url
title: CheckoutResponse
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
CancelResponse:
properties:
status:
type: string
title: Status
cancel_at_period_end:
type: boolean
title: Cancel At Period End
type: object
required:
- status
- cancel_at_period_end
title: CancelResponse
PortalResponse:
properties:
url:
type: string
title: Url
type: object
required:
- url
title: PortalResponse
CheckoutRequest:
properties:
plan_slug:
type: string
pattern: ^(creator|scale|pro|enterprise)$
title: Plan Slug
billing_cycle:
type: string
pattern: ^(monthly|yearly)$
title: Billing Cycle
default: monthly
type: object
required:
- plan_slug
title: CheckoutRequest
securitySchemes:
APIKeyHeader:
type: apiKey
in: header
name: X-API-Key