Lunar Banner

Antarctic Meteorite API

Welcome to the Antarctic Meteorite API! Use the following REST calls below to query data on the meteorite database.
Any questions can be directed to ARES Developers: jsc-ares-developers@mail.nasa.gov
Base URL syntax: https://curator.jsc.nasa.gov/rest/antmetapi/samples

Multiple Samples

Return multiple samples using the following functions

Samples By Classification and Subclassification

Syntax: /samplesbyclassification/{classification}?subclass={subclassification}
Description: Return samples for a given classification and subclassification. Use the listclassifications function to return a list of possible values. Classification is "class1name" and Subclassification is "class2name".
Argument 1: {classification}
Type: String
Argument 2: {subclassification}
Type: String
Example 1: https://curator.jsc.nasa.gov/rest/antmetapi/samples/samplesbyclassification/Carbonaceous Chondrites?subclass=CR (Renazzo-like)
Example 2: https://curator.jsc.nasa.gov/rest/antmetapi/samples/samplesbyclassification/Carbonaceous Chondrites?subclass=

Samples By Advanced Classifications

Syntax: /samplesbyadvclassification/?classification={classification}
Description: Return samples for a given advanced classification. Use the listadvclassifications function to return a list of possible values.
Argument: {classification}
Type: String
Example: https://curator.jsc.nasa.gov/rest/antmetapi/samples/samplesbyadvclassification/?classification=L(LL)3.05 Chondrite

Samples By Collection Site

Syntax: /samplesbycollectionsite/{siteCode}
Description: Return samples for a given advanced collection site. Use the listcollectionsites function to return a list of possible values. Use the "sitecode" value.
Argument: {siteCode}
Type: String
Example: https://curator.jsc.nasa.gov/rest/antmetapi/samples/samplesbycollectionsite/MET

Samples By Collection Year

Syntax: /samplesbycollectionyear/{year}
Description: Return samples for a given collection year. Use the listcollectionyears function to return a list of possible values.
Argument: {year}
Type: Integer
Example: https://curator.jsc.nasa.gov/rest/antmetapi/samples/samplesbycollectionyear/2017

Samples By Newsletter

Syntax: /samplesbynewsletter/{newsletter}
Description: Return samples for a given newsletter. Use the listnewsletters function to return a list of possible values. Use the "newsletter" value.
Argument: {newsletter}
Type: String
Example: https://curator.jsc.nasa.gov/rest/antmetapi/samples/samplesbynewsletter/26,1

Samples By Weathering

Syntax: /samplesbyweathering/?weathering={weathering}
Description: Return samples for weathering value. Use the listweathering function to return a list of possible values.
Argument: {weathering}
Type: String
Example: https://curator.jsc.nasa.gov/rest/antmetapi/samples/samplesbyweathering/?weathering=B/C

Samples By Fracturing

Syntax: /samplesbyfracturing/?fracturing={fracturing}
Description: Return samples for a given newsletter. Use the listfracturing function to return a list of possible values.
Argument: {fracturing}
Type: String
Example: https://curator.jsc.nasa.gov/rest/antmetapi/samples/samplesbyfracturing/?fracturing=A



Individual Sample Data

Return detailed information about a single sample

Sample Details

Syntax: /sampledetails/{sampleID}
Description: Return basic sample details.
Argument: {sampleID}
Type: String
Example: https://curator.jsc.nasa.gov/rest/antmetapi/samples/sampledetails/EET90066

Sample Petrographic Description

Syntax: /samplepetdesc/{sampleID}
Description: Return the petrographic description for a given sample.
Argument: {sampleID}
Type: String
Example: https://curator.jsc.nasa.gov/rest/antmetapi/samples/samplepetdesc/EET90066

Sample Images

Syntax: /sampleimages/{sampleID}
Description: Return available images for a given sample.
Argument: {sampleID}
Type: String
Example: https://curator.jsc.nasa.gov/rest/antmetapi/samples/sampleimages/EET84302



List Functions

Return list of various properties

List Collection Sites

Syntax: /listcollectionsites
Description: List all collection sites
Example: https://curator.jsc.nasa.gov/rest/antmetapi/samples/listcollectionsites

List Collection Years

Syntax: /listcollectionyears
Description: List all collection years
Example: https://curator.jsc.nasa.gov/rest/antmetapi/samples/listcollectionyears

List Classifications

Syntax: /listclassifications
Description: List classifications (class 1 name) and their subclassifications (class 2 name)
Example: https://curator.jsc.nasa.gov/rest/antmetapi/samples/listclassifications

List Advanced Classifications

Syntax: /listadvclassifications
Description: List classifications by their advanced name
Example: https://curator.jsc.nasa.gov/rest/antmetapi/samples/listadvclassifications

List Fracturing

Syntax: /listfracturing
Description: List fracturing
Example: https://curator.jsc.nasa.gov/rest/antmetapi/samples/listfracturing

List Weathering

Syntax: /listweathering
Description: List weathering
Type: String
Example: https://curator.jsc.nasa.gov/rest/antmetapi/samples/listweathering

List Newsletters

Syntax: /listnewsletters
Description: List newsletters
Example: https://curator.jsc.nasa.gov/rest/antmetapi/samples/listnewsletters