MusicBrainz API / Search / UrlSearch

This page has not been reviewed by our documentation team (more info).

Search Fields

The URL index contains the following fields you can search

FieldDescription
relationtypethe type of a relationship the URL is in (e.g. "wikidata")
targetidthe MBID of an entity related to the URL
targettypean entity type related to the URL (e.g. "artist")
uidthe URL's MBID
urlthe actual URL string
url_ancestorthe actual URL string, but also returns any ancestor paths (e.g. "https://example.org/some/stuff" will match "https://example.org/some")
url_descendentthe actual URL string, but also returns any descendant paths (e.g. "https://example.org/some/stuff" will match "https://example.org/some/stuff/here")