Peptide research data, scientific literature and vendor information for developers.
The official developer kit for the Peptide Library REST API: the OpenAPI 3.1 document, a Postman collection, TypeScript and Python SDKs, and examples. Full documentation lives at peptidelibrary.app/developers.
Research and educational information only. Not medical advice, and not a recommendation to buy or use any substance. The API never returns dose figures, regimens, reconstitution or injection instructions.
| Base URL | https://api.peptidelibrary.app/v1 (also https://peptidelibrary.app/api/v1) |
| Format | JSON over HTTPS, read-only (GET) |
| Spec | openapi.json · openapi.yaml (OpenAPI 3.1) |
| Docs | API reference · Playground |
| Keys | Developer dashboard (free) |
- Peptide research profiles: names and aliases, classification, mechanism, chemistry, evidence level, human and preclinical evidence kept apart, safety, regulatory status, references. Fields a profile doesn't document say
not_documented; nothing is invented. - Studies: cited studies with PubMed, DOI and ClinicalTrials.gov identifiers and an evidence classification (regulatory label, controlled human trial, human study, secondary report, animal or lab, in vitro).
- Vendor directory: location, published ratings (verified reviews counted separately), catalog size, shipping destinations; every fact carries its source.
- Products and prices: current listed prices by compound and form, as decimal strings in the listed currency, with when each price was last seen. Never mixed across strengths, forms or currencies.
- Cursor pagination, sparse
fields, ETags, request ids, consistent error envelopes, rate-limit headers.
No key needed for research and studies:
curl "https://api.peptidelibrary.app/v1/peptides/bpc-157"
curl "https://api.peptidelibrary.app/v1/peptides?search=glp&limit=5"Vendor, product and price endpoints need a key with the matching scope (get one). Send it from your server:
curl "https://api.peptidelibrary.app/v1/prices?peptide=bpc-157&form=vial¤cy=USD&ships_to=US" \
-H "Authorization: Bearer $PEPTIDE_LIBRARY_API_KEY"| Endpoint | Scope | Key |
|---|---|---|
GET /v1/peptides, /peptides/{slug}, /peptides/{slug}/research, /regulatory-status/{slug} |
research:read |
optional |
GET /v1/peptides/{slug}/studies, /studies, /studies/{id} |
studies:read |
optional |
GET /v1/categories, /research-areas, /search |
research:read |
optional |
GET /v1/vendors, /vendors/{id}, /vendors/{id}/shipping, /vendors/compare |
vendors:read |
required |
GET /v1/products, /products/{id}, /vendors/{id}/products |
products:read |
required |
GET /v1/prices, /prices/compare, /vendors/{id}/prices |
pricing:read |
required |
Authorization: Bearer pl_live_… (or X-API-Key: pl_live_…). Keys are shown once and stored only as a hash; rotate or revoke them in the dashboard. Never put a key in a browser, mobile app or public repository.
Rate limits: keyed vendor, product and price requests count per account (Free Developer: 60 per minute, 5,000 per month); anonymous requests are limited per IP. Over a limit you get 429 with Retry-After. Nothing is billed automatically.
{
"data": {
"id": "bpc-157",
"name": "BPC-157",
"regulatory_status": "experimental",
"evidence": { "reviewed": true, "level": "insufficient", "level_label": "Insufficient Evidence", "highest_documented": "…" },
"url": "https://peptidelibrary.app/library/bpc-157?utm_source=api&utm_medium=developer_api"
},
"meta": { "api_version": "v1", "request_id": "req_…", "retrieved_at": "2026-10-18T14:00:00.000Z", "disclaimer": "…" }
}{ "error": { "code": "insufficient_scope", "message": "This endpoint needs the `pricing:read` scope…", "request_id": "req_…", "details": { "required_scope": "pricing:read" } } }- TypeScript / JavaScript:
sdks/js(@peptide_library/sdk) - Python:
sdks/python(peptide-library; until it is on PyPI:pip install "peptide-library @ git+https://github.com/ryandelauz/peptide-library-api#subdirectory=sdks/python")
import { PeptideLibrary } from '@peptide_library/sdk';
const pl = new PeptideLibrary({ apiKey: process.env.PEPTIDE_LIBRARY_API_KEY });
const research = await pl.peptides.research('semaglutide');from peptide_library import PeptideLibrary
pl = PeptideLibrary() # reads PEPTIDE_LIBRARY_API_KEY
for vendor in pl.vendors.all(ships_to="US"):
print(vendor["name"], vendor["rating"]["average"])More in examples/. Postman: import postman/Peptide-Library-API.postman_collection.json with its environment.
For AI assistants (Claude, ChatGPT, Cursor, VS Code), Peptide Library also runs a public, read-only MCP server at https://peptidelibrary.app/mcp on the same data: see peptidelibrary.app/developers/mcp and ryandelauz/peptide-library-mcp.
Profiles are written and reviewed under Peptide Library's editorial policy and methodology: claims cite PubMed, DOI, trial registries and FDA or WADA records. Vendor facts carry their source; ratings follow how rankings work. Prices are read from vendors' own product pages about once a day; links to vendors go through Peptide Library and may earn a commission, which never changes which vendors are listed or their order.
The code in this repository (SDKs, scripts, examples) is MIT-licensed (LICENSE). The data the API returns is governed by the API terms of use: credit "Data from Peptide Library" with a link, keep vendor links as returned, and don't redistribute bulk copies.
Official website: peptidelibrary.app · Developers: peptidelibrary.app/developers · Support: support@peptidelibrary.app