Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

Latest commit

 

History

History
25 lines (18 loc) · 2 KB

use_api.md

File metadata and controls

25 lines (18 loc) · 2 KB
layout title permalink
default
Use the API
/use_api/

API Basics

The 3DPX API has four primary operations that work with public-domain models*.

  1. Return all models in XML format.
  2. Return a specified public domain model in XML format by providing that model’s 3DPX accession code (e.g., 3dpx-######)
  3. Return all public domain models in JSON format.
  4. Return a specified public domain model in JSON format by providing that model’s 3DPX accession code (e.g., 3dpx-######)
* Contributors to the NIH 3D Print Exchange can specify license types for their models. The default for models is “public domain” which imposes no restrictions on reuse. At this time, these are the only models available through the API.

Rate Limits

The 3DPX API relies on api.data.gov’s services for rate limiting and metrics tracking. The default rate limit of 1000 requests per hour applies to all 3DPX API users. You may contact us if you require a higher request rate.

Examples

Return all available fields (see “Field Reference” section) for the Peppytides foldable model of the polypeptide chain, which has the accession code ‘3dpx-000914’. Please note that these examples use the "DEMO" API Key for api.data.gov. This key is for demo purposes only and imposes high rate limits. Click here to register for a free and full-featured API Key for use in your application(s).