> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /musicbrainz/recordings/by-isrc

> Resolve MusicBrainz recordings by ISRC code

**Price:** 1 credit

**⚠️ Common errors:** 412: No recording found for this ISRC



## OpenAPI

````yaml /openapi/music.json post /api/musicbrainz/recordings/by-isrc
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/musicbrainz/recordings/by-isrc:
    post:
      tags:
        - /musicbrainz
      summary: /musicbrainz/recordings/by-isrc
      description: |-
        Resolve MusicBrainz recordings by ISRC code

        **Price:** 1 credit

        **⚠️ Common errors:** 412: No recording found for this ISRC
      operationId: __api_musicbrainz_recordings_by_isrc_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MusicBrainzRecordingsByIsrcPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MusicBrainzRecording'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    MusicBrainzRecordingsByIsrcPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        isrc:
          type: string
          minLength: 1
      type: object
      required:
        - isrc
    MusicBrainzRecording:
      properties:
        '@type':
          type: string
          default: MusicBrainzRecording
        id:
          type: string
        url:
          type: string
        length:
          anyOf:
            - type: integer
            - type: 'null'
        video:
          type: boolean
          default: false
        first_release_date:
          anyOf:
            - type: string
            - type: 'null'
        disambiguation:
          anyOf:
            - type: string
            - type: 'null'
        artist_credit:
          items:
            $ref: '#/components/schemas/MusicBrainzArtistCredit'
          type: array
          default: []
        isrcs:
          items:
            type: string
          type: array
          default: []
        releases:
          items:
            $ref: '#/components/schemas/MusicBrainzReleaseStub'
          type: array
          default: []
        tags:
          items:
            $ref: '#/components/schemas/MusicBrainzTag'
          type: array
          default: []
        genres:
          items:
            $ref: '#/components/schemas/MusicBrainzGenre'
          type: array
          default: []
        rating:
          anyOf:
            - $ref: '#/components/schemas/MusicBrainzRating'
            - type: 'null'
        external_links:
          items: {}
          type: array
          default: []
        relations:
          items: {}
          type: array
          default: []
      type: object
      required:
        - id
        - url
        - title
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    MusicBrainzArtistCredit:
      properties:
        '@type':
          type: string
          default: MusicBrainzArtistCredit
        name:
          anyOf:
            - type: string
            - type: 'null'
        join_phrase:
          anyOf:
            - type: string
            - type: 'null'
        artist:
          anyOf:
            - $ref: '#/components/schemas/MusicBrainzArtistRef'
            - type: 'null'
      type: object
    MusicBrainzReleaseStub:
      properties:
        '@type':
          type: string
          default: MusicBrainzReleaseStub
        id:
          type: string
        url:
          type: string
        status:
          anyOf:
            - type: string
            - type: 'null'
        quality:
          anyOf:
            - type: string
            - type: 'null'
        packaging:
          anyOf:
            - type: string
            - type: 'null'
        date:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
        barcode:
          anyOf:
            - type: string
            - type: 'null'
        disambiguation:
          anyOf:
            - type: string
            - type: 'null'
        artist_credit:
          items:
            $ref: '#/components/schemas/MusicBrainzArtistCredit'
          type: array
          default: []
        release_events:
          items:
            $ref: '#/components/schemas/MusicBrainzReleaseEvent'
          type: array
          default: []
        label_info:
          items:
            $ref: '#/components/schemas/MusicBrainzLabelInfo'
          type: array
          default: []
        text_representation:
          anyOf:
            - $ref: '#/components/schemas/MusicBrainzTextRepresentation'
            - type: 'null'
        track_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - id
        - url
    MusicBrainzTag:
      properties:
        '@type':
          type: string
          default: MusicBrainzTag
        name:
          anyOf:
            - type: string
            - type: 'null'
        vote_count:
          type: integer
          default: 0
      type: object
    MusicBrainzGenre:
      properties:
        '@type':
          type: string
          default: MusicBrainzGenre
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        vote_count:
          type: integer
          default: 0
        disambiguation:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    MusicBrainzRating:
      properties:
        '@type':
          type: string
          default: MusicBrainzRating
        value:
          anyOf:
            - type: number
            - type: 'null'
        votes_count:
          type: integer
          default: 0
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
    MusicBrainzArtistRef:
      properties:
        '@type':
          type: string
          default: MusicBrainzArtistRef
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        sort_name:
          anyOf:
            - type: string
            - type: 'null'
        disambiguation:
          anyOf:
            - type: string
            - type: 'null'
        type:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    MusicBrainzReleaseEvent:
      properties:
        '@type':
          type: string
          default: MusicBrainzReleaseEvent
        date:
          anyOf:
            - type: string
            - type: 'null'
        area:
          anyOf:
            - $ref: '#/components/schemas/MusicBrainzAreaRef'
            - type: 'null'
      type: object
    MusicBrainzLabelInfo:
      properties:
        '@type':
          type: string
          default: MusicBrainzLabelInfo
        catalog_number:
          anyOf:
            - type: string
            - type: 'null'
        label:
          anyOf:
            - $ref: '#/components/schemas/MusicBrainzLabelRef'
            - type: 'null'
      type: object
    MusicBrainzTextRepresentation:
      properties:
        '@type':
          type: string
          default: MusicBrainzTextRepresentation
        language:
          anyOf:
            - type: string
            - type: 'null'
        script:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    MusicBrainzAreaRef:
      properties:
        '@type':
          type: string
          default: MusicBrainzAreaRef
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        sort_name:
          anyOf:
            - type: string
            - type: 'null'
        type:
          anyOf:
            - type: string
            - type: 'null'
        disambiguation:
          anyOf:
            - type: string
            - type: 'null'
        iso_3166_1_codes:
          items:
            type: string
          type: array
          default: []
        iso_3166_2_codes:
          items:
            type: string
          type: array
          default: []
      type: object
    MusicBrainzLabelRef:
      properties:
        '@type':
          type: string
          default: MusicBrainzLabelRef
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        sort_name:
          anyOf:
            - type: string
            - type: 'null'
        type:
          anyOf:
            - type: string
            - type: 'null'
        label_code:
          anyOf:
            - type: integer
            - type: 'null'
        disambiguation:
          anyOf:
            - type: string
            - type: 'null'
      type: object
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````