---
updatedAt: 2025-06-19T02:50:40.000Z
agentTools:
  projectIndex: https://spotscraper.readme.io/llms.txt
---

# Search tracks by ISRC

Searches for tracks matching the provided ISRC (International Standard Recording Code)

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "SpotScraper API",
    "description": "API for retrieving Spotify data including albums, artists, playlists, tracks, podcasts, and users",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.spotscraper.com/v1",
      "description": "Production server"
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/tracks/search/isrc/{isrc}": {
      "get": {
        "tags": [
          "Tracks"
        ],
        "summary": "Search tracks by ISRC",
        "description": "Searches for tracks matching the provided ISRC (International Standard Recording Code)",
        "parameters": [
          {
            "in": "path",
            "name": "isrc",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "International Standard Recording Code (ISRC)"
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 0,
              "minimum": 0
            },
            "description": "Number of results to skip from the beginning"
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 20,
              "minimum": 1,
              "maximum": 50
            },
            "description": "Maximum number of results to return"
          }
        ],
        "responses": {
          "200": {
            "description": "Search results found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrackSearchResponse"
                }
              }
            }
          },
          "404": {
            "description": "No tracks found for ISRC",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key"
      }
    },
    "schemas": {
      "Track": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Spotify Track ID"
          },
          "uri": {
            "type": "string",
            "description": "Spotify Track URI"
          },
          "name": {
            "type": "string",
            "description": "Track name"
          },
          "popularity": {
            "type": "integer",
            "description": "Track popularity (0-100)"
          },
          "isrc": {
            "type": "string",
            "nullable": true,
            "description": "International Standard Recording Code (ISRC)"
          },
          "metadata": {
            "type": "object",
            "properties": {
              "explicit": {
                "type": "boolean",
                "description": "Whether the track contains explicit content"
              },
              "isPlayable": {
                "type": "boolean",
                "description": "Whether the track is playable"
              },
              "durationMs": {
                "type": "integer",
                "description": "Duration of the track in milliseconds"
              },
              "discNumber": {
                "type": "integer",
                "description": "Disc number of the track"
              },
              "trackNumber": {
                "type": "integer",
                "description": "Track number on the disc"
              },
              "attributes": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Track attributes"
              }
            }
          },
          "statistics": {
            "type": "object",
            "properties": {
              "playCount": {
                "type": "integer",
                "description": "Total play count for the track"
              }
            }
          },
          "artists": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Spotify Artist ID"
                },
                "uri": {
                  "type": "string",
                  "description": "Spotify Artist URI"
                },
                "name": {
                  "type": "string",
                  "description": "Artist name"
                },
                "images": {
                  "type": "object",
                  "properties": {
                    "sources": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string"
                          },
                          "width": {
                            "type": "integer"
                          },
                          "height": {
                            "type": "integer"
                          }
                        }
                      }
                    }
                  }
                }
              }
            },
            "description": "Artists who performed the track"
          },
          "album": {
            "type": "object",
            "nullable": true,
            "properties": {
              "id": {
                "type": "string",
                "description": "Spotify Album ID"
              },
              "uri": {
                "type": "string",
                "description": "Spotify Album URI"
              },
              "name": {
                "type": "string",
                "description": "Album name"
              },
              "images": {
                "type": "object",
                "properties": {
                  "sources": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "url": {
                          "type": "string"
                        },
                        "width": {
                          "type": "integer"
                        },
                        "height": {
                          "type": "integer"
                        }
                      }
                    }
                  },
                  "hex": {
                    "type": "string",
                    "description": "Extracted color hex value"
                  }
                }
              },
              "copyright": {
                "type": "string",
                "description": "Album copyright information"
              }
            },
            "description": "Album the track belongs to"
          }
        }
      },
      "TrackSearchResponse": {
        "type": "object",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/TrackSearchResults"
          },
          "type": {
            "type": "string",
            "enum": [
              "track_search_results"
            ]
          }
        }
      },
      "TrackSearchResults": {
        "type": "object",
        "properties": {
          "tracks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Track"
            },
            "description": "Array of tracks matching the ISRC"
          },
          "pagingInfo": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "description": "Number of items per page"
              },
              "nextOffset": {
                "type": "integer",
                "nullable": true,
                "description": "Offset for the next page of results"
              }
            },
            "description": "Pagination information for the search results"
          },
          "totalCount": {
            "type": "integer",
            "description": "Total number of matching tracks"
          },
          "query": {
            "type": "string",
            "description": "The ISRC search query that was executed"
          }
        }
      },
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "Error message"
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "description": "HTTP status code"
          }
        }
      }
    }
  }
}
```