Skip to content

Files

Latest commit

Apr 6, 2025
1e64223 · Apr 6, 2025

History

History

lab02_smithsonian_api

README.md

Smithsonian API Overview

Key Links

https://collections.si.edu/search/
Web-based search interface for the collection.

https://edan.si.edu/openaccess/apidocs/ Documentation for the API.


API Example 1: Fetch objects

Use the api to fetch objects by their id

Content Base URL: https://api.si.edu/openaccess/api/v1.0/content/
Example ID: edanmdm:NMAI_270941


API Example 2: Fetch terms

Retrieve terms according to their term category
Term Base URL: https://api.si.edu/openaccess/api/v1.0/terms/
Example Term: online_media_type


API Example 3: Fetch search

Use a search term to query the API Search Base URL: https://api.si.edu/openaccess/api/v1.0/search
Example Search: mask


API Example 4: Fetch search & create data set and make it downloadable

Fetch data and write only the most important pieces into your own custom array

Relevant resources

Using Fetch
Download data button