How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Materials Project Materials XAS API

Route providing computed x-ray absorption spectroscopy data for a material following the methodology discussed by [Mathew *et al.*](https://doi.org/10.1038/sdata.2018.151) and [Chen *et al.*](https://doi.org/10.1038/s41597-021-00936-5) Note that x-ray absorption spectroscopy data has not been calculated for all materials in the Materials Project database. See the `XASDoc` schema for a full list of fields returned by this route.

Materials Project Materials XAS API is one of 29 APIs that Materials Project publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Materials XAS. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and a getting-started guide.

This API exposes 1 operation across 1 path, and defines 18 schemas. It is described by OpenAPI 3.1.0, at version 0.86.4rc5.dev1+g77c2c1315.

Requests are made against the base URL https://api.materialsproject.org.

1 operations 1 paths 18 schemas 1 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
0.86.4rc5.dev1+g77c2c1315
Base URL
https://api.materialsproject.org
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Materials Project Materials XAS API declares 1 security scheme for authenticating requests. An API key is passed in the header as X-API-KEY (ApiKeyAuth). By default, every request must be authenticated.

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 GET. Each is listed below with its method, path, parameters, and response codes.

Materials XAS 1

Route providing computed x-ray absorption spectroscopy data for a material following the methodology discussed by [Mathew et al.](https://doi.org/10.1038/sdata.2018.151) and [Chen…

GET
/materials/xas/
Get XASDoc documents
search_materials_xas__get 16 params → 200422

Schemas 18

The contract defines 18 schemas that model the data the API accepts and returns. The most detailed are XASDoc (23 properties), TypedXASSpectrumDict (10 properties), TypedLatticeDict (9 properties), SymmetryData (8 properties). Each schema is shown below with its type and property counts.

TypedSiteProperitesDict
object
6 properties
XasSpectrumID
object
3 properties 2 required
TypedElementDict
object
3 properties 3 required
XASDoc
object
Document describing a XAS Spectrum.
23 properties 4 required
TypedSiteDict
object
6 properties
TypedLatticeDict
object
9 properties 8 required
Element
string
Enum representing an element in the periodic table.
TypedXASSpectrumDict
object
10 properties 10 required
TypedAggregateProperitesDict
object
4 properties
EmmetMeta
object
Default emmet metadata.
7 properties
ValidationError
object
5 properties 3 required
TypedStructureDict
object
6 properties 4 required
Response_XASDoc_
object
3 properties
Meta
object
Meta information for the MAPI Response.
4 properties
SymmetryData
object
Defines a symmetry data set for materials documents
8 properties
Error
object
Base Error model for General API.
2 properties 2 required
TypedSpeciesDict
object
4 properties
HTTPValidationError
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

materials-project-materials-xas-api-openapi.yml Raw ↑

Other APIs Materials Project publishes across the network.

Materials Project Defect Tasks API
Materials Project DOIs API
Materials Project JCESR Electrolyte Genome API
Materials Project Materials Absorption API
Materials Project Materials Alloys API
Materials Project Materials API
Materials Project Materials Bonds API
Materials Project Materials Chemical Environment API
Materials Project Materials Dielectric API
Materials Project Materials Elasticity API
Materials Project Materials Electrodes API
Materials Project Materials Electronic Structure API
Where this information came from

This is an independent, third-party profile of Materials Project Materials XAS API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.