{
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "",
    "title": "Spotify",
    "version": "1",
    "x-aisa-capabilities": {
      "idempotency": "Idempotency-Key",
      "max_price": "X-AISA-Max-Price-USD",
      "quote": {
        "header": "X-AISA-Cost-Mode",
        "value": "quote"
      }
    },
    "x-aisa-catalogs": {
      "spotify": {
        "description": "",
        "title": "Spotify",
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          }
        },
        "x-aisa-document": {
          "facts_hash": "10874dc7bc23141440d566ecc07e013edbb53c917e50668869ffd5472c027897",
          "generator_version": "3",
          "protocol_version": "1",
          "schema_version": "1"
        },
        "x-aisa-plans": {
          "builder": 1.0,
          "display_plan": "payg",
          "payg": 1.0,
          "similarweb_payg": 1.0,
          "team": 1.0,
          "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
        }
      }
    },
    "x-aisa-configured-paths": [
      "/apis/v1/spotify/album",
      "/apis/v1/spotify/artist",
      "/apis/v1/spotify/track"
    ],
    "x-aisa-document": {
      "composer_version": "31",
      "facts_hash": "10874dc7bc23141440d566ecc07e013edbb53c917e50668869ffd5472c027897",
      "generator_version": "3",
      "protocol_version": "1",
      "response_pending": [],
      "schema_version": "1",
      "public_projection": {
        "version": "4",
        "source_document_hash": "sha256:a66ddfb6ac9ab8ab936f41e50e24dc62884e286caf22168fcc468d67ef20e454"
      },
      "document_hash": "sha256:9e3f32adf522de3ac765d87ad59c70d6a22bbba5561bf81f26a1d1894b7cbe68"
    },
    "x-aisa-plans": {
      "builder": 1.0,
      "display_plan": "payg",
      "payg": 1.0,
      "similarweb_payg": 1.0,
      "team": 1.0,
      "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
    },
    "x-aisa-provider": "spotify"
  },
  "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
  "openapi": "3.1.0",
  "paths": {
    "/apis/v1/spotify/album": {
      "get": {
        "description": "Returns a Spotify album. Provide `albumId` or `url`.\n\n> **Request example pending verification.** The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (`X-AISA-Cost-Mode: quote`) before running it.",
        "operationId": "spotify.album",
        "parameters": [
          {
            "in": "query",
            "name": "albumId",
            "required": false,
            "schema": {
              "description": "Optional Spotify album id for the request.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "url",
            "required": false,
            "schema": {
              "description": "Optional Spotify album URL for the request.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "properties": {
                    "data": {
                      "additionalProperties": true,
                      "type": "object"
                    },
                    "meta": {
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Observed successful JSON response. This partial structure comes from successful probe or sampled requests; fields and types may vary. No field is guaranteed to be present. Last observed: 2026-11-26.",
            "x-aisa-response-observation": {
              "completeness": "observed",
              "last_observed": "2026-11-26",
              "origins": [
                "customer"
              ]
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get Spotify album",
        "tags": [
          "Spotify"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "spotify",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/spotify/spotify-album",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "9db38d6e9879198660e8587a46a9beeeeded0652c1e2ba2cada1a7fe70449440",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-26",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
        "x-aisa-review": {
          "request": "reviewed_source",
          "response": "observed",
          "status": "unreviewed"
        },
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "spotify.album",
          "path": "/apis/v1/spotify/album"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/spotify/artist": {
      "get": {
        "description": "Returns a Spotify artist. Provide `artistId` or `url`.\n\n> **Request example pending verification.** The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (`X-AISA-Cost-Mode: quote`) before running it.",
        "operationId": "spotify.artist",
        "parameters": [
          {
            "in": "query",
            "name": "artistId",
            "required": false,
            "schema": {
              "description": "Optional Spotify artist id for the request.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "url",
            "required": false,
            "schema": {
              "description": "Optional Spotify artist URL for the request.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "properties": {
                    "data": {
                      "additionalProperties": true,
                      "type": "object"
                    },
                    "meta": {
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Observed successful JSON response. This partial structure comes from successful probe or sampled requests; fields and types may vary. No field is guaranteed to be present. Last observed: 2026-11-26.",
            "x-aisa-response-observation": {
              "completeness": "observed",
              "last_observed": "2026-11-26",
              "origins": [
                "customer"
              ]
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get Spotify artist",
        "tags": [
          "Spotify"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "spotify",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/spotify/spotify-artist",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "28436a0c6fffc2df49a9135b06e1b8d1cfed98643803960237e6f06bb28472aa",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-26",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
        "x-aisa-review": {
          "request": "reviewed_source",
          "response": "observed",
          "status": "unreviewed"
        },
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "spotify.artist",
          "path": "/apis/v1/spotify/artist"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/spotify/track": {
      "get": {
        "description": "Returns a Spotify track. Provide `trackId` or `url`.\n\n> **Request example pending verification.** The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (`X-AISA-Cost-Mode: quote`) before running it.",
        "operationId": "spotify.track",
        "parameters": [
          {
            "in": "query",
            "name": "trackId",
            "required": false,
            "schema": {
              "description": "Optional Spotify track id for the request.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "url",
            "required": false,
            "schema": {
              "description": "Optional Spotify track URL for the request.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "properties": {
                    "data": {
                      "additionalProperties": true,
                      "properties": {
                        "album": {
                          "additionalProperties": true,
                          "properties": {
                            "albumId": {
                              "type": "string"
                            },
                            "albumType": {
                              "type": "string"
                            },
                            "albumUrl": {
                              "type": "string"
                            },
                            "coverArtUrl": {
                              "type": "string"
                            },
                            "releaseDateIso": {
                              "type": "string"
                            },
                            "releaseYear": {
                              "type": "integer"
                            },
                            "title": {
                              "type": "string"
                            },
                            "trackCount": {
                              "type": "integer"
                            }
                          },
                          "type": "object"
                        },
                        "artists": {
                          "items": {
                            "additionalProperties": true,
                            "properties": {
                              "artistId": {
                                "type": "string"
                              },
                              "avatarUrl": {
                                "type": "string"
                              },
                              "displayName": {
                                "type": "string"
                              },
                              "profileUrl": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "lookupStatus": {
                          "type": "string"
                        },
                        "track": {
                          "additionalProperties": true,
                          "properties": {
                            "durationMs": {
                              "type": "integer"
                            },
                            "explicit": {
                              "type": "boolean"
                            },
                            "mediaType": {
                              "type": "string"
                            },
                            "platform": {
                              "type": "string"
                            },
                            "playCount": {
                              "type": "integer"
                            },
                            "playable": {
                              "type": "boolean"
                            },
                            "title": {
                              "type": "string"
                            },
                            "trackId": {
                              "type": "string"
                            },
                            "trackNumber": {
                              "type": "integer"
                            },
                            "trackUrl": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    },
                    "meta": {
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Observed successful JSON response. This partial structure comes from successful probe or sampled requests; fields and types may vary. No field is guaranteed to be present. Last observed: 2026-11-14.",
            "x-aisa-response-observation": {
              "completeness": "observed",
              "last_observed": "2026-11-14",
              "origins": [
                "probe"
              ]
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Get Spotify track",
        "tags": [
          "Spotify"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "spotify",
        "x-aisa-category": "social",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/spotify/spotify-track",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "a424486fa6626b2e20c0d6a7b03064d62ff8dc977a16af9c3c743e9c03da1d25",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-14",
            "origins": [
              "probe"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "album": {
                      "additionalProperties": true,
                      "properties": {
                        "albumId": {
                          "type": "string"
                        },
                        "albumType": {
                          "type": "string"
                        },
                        "albumUrl": {
                          "type": "string"
                        },
                        "coverArtUrl": {
                          "type": "string"
                        },
                        "releaseDateIso": {
                          "type": "string"
                        },
                        "releaseYear": {
                          "type": "integer"
                        },
                        "title": {
                          "type": "string"
                        },
                        "trackCount": {
                          "type": "integer"
                        }
                      },
                      "type": "object"
                    },
                    "artists": {
                      "items": {
                        "additionalProperties": true,
                        "properties": {
                          "artistId": {
                            "type": "string"
                          },
                          "avatarUrl": {
                            "type": "string"
                          },
                          "displayName": {
                            "type": "string"
                          },
                          "profileUrl": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "lookupStatus": {
                      "type": "string"
                    },
                    "track": {
                      "additionalProperties": true,
                      "properties": {
                        "durationMs": {
                          "type": "integer"
                        },
                        "explicit": {
                          "type": "boolean"
                        },
                        "mediaType": {
                          "type": "string"
                        },
                        "platform": {
                          "type": "string"
                        },
                        "playCount": {
                          "type": "integer"
                        },
                        "playable": {
                          "type": "boolean"
                        },
                        "title": {
                          "type": "string"
                        },
                        "trackId": {
                          "type": "string"
                        },
                        "trackNumber": {
                          "type": "integer"
                        },
                        "trackUrl": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
        "x-aisa-review": {
          "request": "reviewed_source",
          "response": "observed",
          "status": "unreviewed"
        },
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "spotify.track",
          "path": "/apis/v1/spotify/track"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ]
}
