Shazam · Schema

Shazam Recognize Request

Request payload submitted to the Shazam recognition endpoint. Contains an encoded audio fingerprint/signature and session metadata.

MusicAudio RecognitionSong IdentificationChartsArtistsTracksFingerprinting

Properties

Name Type Description
timezone string IANA timezone of the client
signature object Encoded audio fingerprint
timestamp integer Unix timestamp in milliseconds at which the audio capture was taken
context object Optional context metadata attached to the recognition request
geolocation object Optional geographic location of the client
View JSON Schema on GitHub

JSON Schema

shazam-recognize-request.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/shazam/main/json-schema/shazam-recognize-request.json",
  "title": "Shazam Recognize Request",
  "description": "Request payload submitted to the Shazam recognition endpoint. Contains an encoded audio fingerprint/signature and session metadata.",
  "type": "object",
  "properties": {
    "timezone": {
      "type": "string",
      "description": "IANA timezone of the client",
      "example": "America/New_York"
    },
    "signature": {
      "type": "object",
      "description": "Encoded audio fingerprint",
      "required": ["uri", "samplems"],
      "properties": {
        "uri": {
          "type": "string",
          "description": "Base64/URI-encoded audio signature generated from the audio sample"
        },
        "samplems": {
          "type": "integer",
          "description": "Duration of the audio sample used to generate the signature, in milliseconds",
          "minimum": 1,
          "example": 4000
        }
      }
    },
    "timestamp": {
      "type": "integer",
      "description": "Unix timestamp in milliseconds at which the audio capture was taken",
      "example": 1700000000000
    },
    "context": {
      "type": "object",
      "description": "Optional context metadata attached to the recognition request"
    },
    "geolocation": {
      "type": "object",
      "description": "Optional geographic location of the client",
      "properties": {
        "altitude": {
          "type": "number",
          "description": "Altitude in meters"
        },
        "latitude": {
          "type": "number",
          "description": "Latitude in decimal degrees",
          "minimum": -90,
          "maximum": 90
        },
        "longitude": {
          "type": "number",
          "description": "Longitude in decimal degrees",
          "minimum": -180,
          "maximum": 180
        }
      }
    }
  },
  "required": ["signature", "timestamp"]
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/shazam-recognize-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.