LyricPatch Account API

The Account API from LyricPatch — 3 operation(s) for account.

GitHub OpenAPI

Operations 3

POST /v1/account/eligibility Record Account Eligibility #
POST /v1/account/free-credits Claim Free Credits #
GET /v1/account Account #

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/lyricpatch-com:lyricpatch-com-account-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

lyricpatch-com-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LyricPatch Account API
  version: 0.1.0
tags:
- name: Account
paths:
  /v1/account/eligibility:
    post:
      summary: Record Account Eligibility
      description: 'Record the authenticated 18+ clickwrap before age-gated API access.


        The browser can call this only after Supabase authentication. It does not

        grant credits; the separate promotional-credit route still requires a fresh

        Turnstile verification.'
      operationId: record_account_eligibility_v1_account_eligibility_post
      security:
      - HTTPBearer: []
      parameters:
      - name: x-dev-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Dev-User-Id
      - name: x-dev-email
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Dev-Email
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EligibilityRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Account
  /v1/account/free-credits:
    post:
      summary: Claim Free Credits
      operationId: claim_free_credits_v1_account_free_credits_post
      security:
      - HTTPBearer: []
      parameters:
      - name: x-dev-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Dev-User-Id
      - name: x-dev-email
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Dev-Email
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FreeCreditRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Account
  /v1/account:
    get:
      summary: Account
      operationId: account_v1_account_get
      security:
      - HTTPBearer: []
      parameters:
      - name: x-dev-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Dev-User-Id
      - name: x-dev-email
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Dev-Email
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Account
components:
  schemas:
    EligibilityRequest:
      properties:
        age_attested:
          type: boolean
          const: true
          title: Age Attested
        legal_version:
          type: string
          maxLength: 50
          minLength: 1
          title: Legal Version
      type: object
      required:
      - age_attested
      - legal_version
      title: EligibilityRequest
    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
    FreeCreditRequest:
      properties:
        turnstile_token:
          type: string
          maxLength: 4096
          minLength: 1
          title: Turnstile Token
      type: object
      required:
      - turnstile_token
      title: FreeCreditRequest
    AccountResponse:
      properties:
        user_id:
          type: string
          format: uuid
          title: User Id
        credit_balance:
          type: integer
          title: Credit Balance
        pro:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Pro
        export_credit_cost:
          type: integer
          minimum: 0.0
          title: Export Credit Cost
          default: 5
        promotional_credits_expires_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Promotional Credits Expires At
        legal_version:
          type: string
          title: Legal Version
        private_beta_access:
          type: boolean
          title: Private Beta Access
          default: false
        welcome_offer_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Welcome Offer Id
        welcome_credits:
          type: integer
          minimum: 0.0
          title: Welcome Credits
          default: 0
      type: object
      required:
      - user_id
      - credit_balance
      - promotional_credits_expires_at
      - legal_version
      title: AccountResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer