# MusicBrainz browse API

Get MusicBrainz Browse data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as artist, output, type, and retrieve structured data including selected entity category, returned entity MBID, returned entity type, entity display name, and entity source URL for library matching, and catalogue enrichment.

Documentation: https://openany.si/musicbrainz/musicbrainz-browse-api/b56a98a6-6f34-41e5-8156-5c42d44018d7/
API ID: b56a98a6-6f34-41e5-8156-5c42d44018d7
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/musicbrainz/v1/browse
Page update time: 2026-12-03T02:44:46.652Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:44:45.476Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## MusicBrainz Browse API

type selects the list category and defaults to release-group. Supply a supported artist, label or release relationship identifier. release\_type accepts multiple values separated by |; status filters source release status. limit defaults to 25 and allows up to 100, with page defaulting to 1.

## What You Can Build

- **Library matching**: Keep resource types and source identifiers when matching entries across a music library.
- **Catalogue enrichment**: Use the returned metadata and source links to enrich a catalogue record without assuming media-playback or reuse rights.

## Returned Data

| Field | Meaning |
| --- | --- |
| `type` | Selected entity category |
| `results[].id` | Returned entity MBID |
| `results[].type` | Returned entity type |
| `results[].name` | Entity display name |
| `results[].url` | Entity source URL |
| `next_page` | Next results page |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "MusicBrainz browse API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "What to list (default release-group).",
          "enum": [
            "release-group",
            "release",
            "recording",
            "work",
            "event",
            "label",
            "artist",
            "place"
          ]
        },
        "artist": {
          "type": "string",
          "description": "Artist id."
        },
        "label": {
          "type": "string",
          "description": "Label id."
        },
        "release": {
          "type": "string",
          "description": "Release id."
        },
        "release_type": {
          "type": "string",
          "description": "Release type filter: album, single, ep, compilation, live, soundtrack ... (several separated by |)."
        },
        "status": {
          "type": "string",
          "description": "Release status filter: official, promotion, bootleg, pseudo-release."
        },
        "page": {
          "type": "integer",
          "description": "Page number (default 1). Pass `next_page` back; null on the last page."
        },
        "limit": {
          "type": "integer",
          "description": "Results per page (1-100, default 25)."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "artist": {
      "type": "string"
    },
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "limit": {
      "type": "integer"
    },
    "next_page": {
      "type": "integer"
    },
    "page": {
      "type": "integer"
    },
    "results": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "artist": {
                "type": "string"
              },
              "artists": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "credited_as": {
                      "type": "string"
                    },
                    "id": {
                      "type": "string"
                    },
                    "join": {
                      "type": "null"
                    },
                    "name": {
                      "type": "string"
                    }
                  }
                }
              },
              "cover_art": {
                "type": "string"
              },
              "disambiguation": {
                "type": "null"
              },
              "first_release_date": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "primary_type": {
                "type": "string"
              },
              "score": {
                "type": "null"
              },
              "secondary_types": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "type": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "total": {
      "type": "integer"
    },
    "type": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/musicbrainz/v1/browse?artist=a74b1b7f-71a5-4011-9441-d0b5e4122711&output=json&type=release-group' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "artist": "a74b1b7f-71a5-4011-9441-d0b5e4122711",
  "cached": false,
  "count": 25,
  "credits_used": 1,
  "limit": 25,
  "next_page": 2,
  "page": 1,
  "results": [
    {
      "artist": "Radiohead",
      "artists": [
        {
          "credited_as": "Radiohead",
          "id": "a74b1b7f-71a5-4011-9441-d0b5e4122711",
          "join": null,
          "name": "Radiohead"
        }
      ],
      "cover_art": "https://coverartarchive.org/release-group/0ef22186-e92d-4f03-9b05-500fa2d581ad/front",
      "disambiguation": null,
      "first_release_date": "1995-05-17",
      "id": "0ef22186-e92d-4f03-9b05-500fa2d581ad",
      "name": "27 5 94: The Astoria London Live",
      "primary_type": "Album",
      "score": null,
      "secondary_types": [
        "Live"
      ],
      "type": "release-group",
      "url": "https://musicbrainz.org/release-group/0ef22186-e92d-4f03-9b05-500fa2d581ad"
    },
    {
      "artist": "Radiohead",
      "artists": [
        {
          "credited_as": "Radiohead",
          "id": "a74b1b7f-71a5-4011-9441-d0b5e4122711",
          "join": null,
          "name": "Radiohead"
        }
      ],
      "cover_art": "https://coverartarchive.org/release-group/1af3fda4-4281-4ed9-ba38-389ed83d9ab2/front",
      "disambiguation": null,
      "first_release_date": "2019-06-05",
      "id": "1af3fda4-4281-4ed9-ba38-389ed83d9ab2",
      "name": "MINIDISCS [HACKED]",
      "primary_type": "Album",
      "score": null,
      "secondary_types": [
        "Compilation",
        "Demo"
      ],
      "type": "release-group",
      "url": "https://musicbrainz.org/release-group/1af3fda4-4281-4ed9-ba38-389ed83d9ab2"
    },
    "… 23 more"
  ],
  "total": 587,
  "type": "release-group"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### What does type default to?
release-group. Choose a supported entity category explicitly when required.

### How do I combine release types?
Separate release_type values with |, for example album|live.

### Is status=official a licence grant?
No. It is the source release-status classification.

### How do I paginate?
Pass next_page as page; limit defaults to 25 and allows 1–100.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/musicbrainz/musicbrainz-browse-api/b56a98a6-6f34-41e5-8156-5c42d44018d7/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
