Materials Platform for Data Science API

Science & Math / API Key Intermediate HTTPS
Varies by plan (check documentation)

Overview

The Materials Platform for Data Science (MPDS) API provides access to curated experimental data about materials — things like crystal structures, physical properties, and phase diagrams. It is designed for researchers and scientists who want programmatic access to reliable materials science datasets. You will need an API key to get started, which you can request on their website.

💡

Beginner Tip

Start with simple property queries like band gap or melting point for well-known materials such as silicon or iron to understand the response structure before building complex queries.

Available Data

Materials Platform for Data Science data via REST API
JSON-formatted response data
Requires API key authentication

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from Materials Platform for Data Science",
    "description": "Curated experimental data for materials science",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

out Array of result entries matching your query, each containing property data for a specific material.
count Total number of matching records found in the database for your query.
error Error message if the request failed; null or absent when the request is successful.
npages Total number of pages available for paginated results.

Implementation Example

const url = "https://mpds.io/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

401 Unauthorized Missing or invalid API key in the request header.
Include your API key in the "Key" header: -H "Key: YOUR_API_KEY".
Empty results array The query parameters do not match any records in the database.
Try broadening your search — use fewer filters or check spelling of element symbols and property names.
400 Bad Request Malformed JSON in the query parameter.
Ensure the q parameter is valid URL-encoded JSON. Use an online JSON validator before encoding.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 5/20
🔒 Security 15/15
🛠 Developer XP 9/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS NO
Category Science & Math
Difficulty Intermediate
Verified: 2026-04-04

Similar APIs

View All →