Openly Licensed Images & Audio API

Openly licensed images and sound recordings from Openverse for any search word: title, creator, Creative Commons licence and link, provider, file and thumbnail links, size or duration, tags and a ready credit line.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 19 fieldsv1.0

Data from api.openverse.org/v1/images/

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Search terms
Words to search for, such as ["sunset", "piano"]. Each term returns up to max_results items. One per line, or separated by commas.
Example: sunset
Media typeoptional
images, audio or both (default images).
Commercial use onlyoptional
Only licences that allow commercial use.
Maximum resultsoptional
Items per search term, up to 240 (default 100).
Example: 100

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/openverse-media/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/openverse-media/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"search_terms":["sunset"]},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

search_termslistrequired
Words to search for, such as ["sunset", "piano"]. Each term returns up to max_results items.
example: sunset
media_typetext
images, audio or both (default images).
default: imagesexample: imagesone of: images, audio, both
commercial_use_onlyyes/no
Only licences that allow commercial use.
default: falseexample: false
max_resultsnumber
Items per search term, up to 240 (default 100).
default: 100example: 100

What's in each record

19 fields: 17 here, 2 technical ones under Technical details.

Basics

  • Title

    Title of the item.

    Example Piano

  • Creator

    Name the creator gave on the original site.

    Example david_s_carter

  • License

    Licence code, such as by, by-sa, by-nc or cc0.

    Example by-nc-sa

  • License version

    Licence version, such as 4.0.

    Example 2.0

  • Provider

    Collection the item was indexed from, such as flickr or freesound.

    Example flickr

  • Source

    Original source site of the item.

    Example flickr

  • Width

    Image width in pixels.

    Example 1,024

  • Height

    Image height in pixels.

    Example 768

  • Duration ms

    Audio length in milliseconds.

    Example 10,193

  • Filetype

    File type, such as mp3 or jpg.

    Example mp3

  • Tags

    Tags from the original site.

    Example piano

  • Attribution

    Ready-made credit line with licence.

    Example "Piano" by david_s_carter is licensed under CC BY-NC-SA 2.0. To view a copy of this license, visit…

Pictures and media

Technical detailsField names and types for developers, and the 2 fields hidden above

Hidden by default

These 2 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.

  • ID idOpenverse's id of the item.
  • Search words search_termThe search term that found the item.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
media_typetextMedia type3 of 3
titletextTitle3 of 3
creatortextCreator3 of 3
licensetextLicense3 of 3
license_versiontextLicense version3 of 3
license_urllinkLicense link3 of 3
providertextProvider3 of 3
sourcetextSource3 of 3
urllinkLink3 of 3
landing_urllinkLanding link3 of 3
thumbnailimage linkThumbnail3 of 3
widthnumberWidth3 of 3
heightnumberHeight3 of 3
duration_msnumberDuration ms0 of 3
filetypetextFiletype0 of 3
tagslistTags3 of 3
attributiontextAttribution3 of 3
search_termtextSearch words (hidden)3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordTitleCreatorLicenseLicense versionProviderSourceWidthHeightDuration msFiletypeTagsAttributionLicense linkLinkLanding linkMedia typeThumbnail
1Pianodavid_s_carterby-nc-sa2.0flickrflickr1,024768——piano"Piano" by david_s_carter is licensed under CC BY-NC-SA 2.0. To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-sa/2.0/.creativecommons.org/licenses/by-nc-sa/2.0/live.staticflickr.com/1093/1151323066_6cda94b4cd_b.jpgflickr.com/photos/8731600@N04/1151323066imageapi.openverse.org/v1/images/8c6702c0-981c-4894-8b41-f03b9ea5a9a7/thumb/
2piano baruapaanby-sa2.0flickrflickr500375——piano"piano baru" by apaan is licensed under CC BY-SA 2.0. To view a copy of this license, visit https://creativecommons.org/licenses/by-sa/2.0/.creativecommons.org/licenses/by-sa/2.0/live.staticflickr.com/3203/3141346720_f3dcea8dd2.jpgflickr.com/photos/76749162@N00/3141346720imageapi.openverse.org/v1/images/8b6ca8d7-5310-4af7-83e0-f3b115f94cb3/thumb/
3Pianoesc861by-sa2.0flickrflickr1,024768——piano"Piano" by esc861 is licensed under CC BY-SA 2.0. To view a copy of this license, visit https://creativecommons.org/licenses/by-sa/2.0/.creativecommons.org/licenses/by-sa/2.0/live.staticflickr.com/3101/3219512812_670c7f8380_b.jpgflickr.com/photos/34715674@N08/3219512812imageapi.openverse.org/v1/images/60b0398b-cf6a-4e4b-851f-41f34471d875/thumb/

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Anonymous access returns at most 240 results per search term (20 per page), best match first. Add more terms for more items.
  • Images carry width and height; audio carries duration and file type. The other fields are empty for that kind, and some items have no creator or tags.
  • Requests are spaced 0.7 seconds apart, so a full 240-item term takes about 10 seconds.
  • Every item has its own Creative Commons or public-domain licence: keep the licence and the attribution line when you reuse it. Choose commercial_use_only to leave out non-commercial licences.
  • Items are indexed from other sites (Flickr, Wikimedia, Freesound and others) and can disappear from their original site.

Version history

A run uses the live version unless the request names another one with version.