Skip to content
Peptilyze
Docs menu

Docs

Introduction

Peptilyze prices are open for reuse with attribution: a free JSON API, Markdown pages for agents, and nothing to sign up for.

What you can use

  • JSON API at /api/v1: compounds, shops, offers and market numbers. Read-only, CORS-open, described by OpenAPI 3.1.
  • Markdown pages: send Accept: text/markdown to any page and get Markdown instead of HTML.
  • llms.txt and the sitemap describe the site and list every page.
  • Badges show a shop's live price index and Trust Score as an image.

Prices are EUR including VAT by default; add ?currency=USD&vat=excluded for US dollars without VAT (details). The data refreshes every hour. Data and caveats explains what is and is not covered.

Quick start

No key and no account. Make a request, and show the attribution next to what you display.

curl
curl -H 'User-Agent: my-app/1.0' \
  https://peptilyze.com/api/v1/compounds/bpc-157
JavaScript
const res = await fetch('https://peptilyze.com/api/v1/compounds/bpc-157');
if (!res.ok) throw new Error(`Peptilyze API: ${res.status}`);
const body = await res.json();
const { attribution, data } = body;
console.log(data.name, data.fromPrice, body.pricing.currency, 'from', data.offers.length, 'offers');
console.log(attribution.text); // show this next to the data
Python
import requests

r = requests.get(
    "https://peptilyze.com/api/v1/compounds/bpc-157",
    headers={"User-Agent": "my-app/1.0"},
    timeout=10,
)
r.raise_for_status()
body = r.json()
print(body["data"]["name"], body["data"]["fromPrice"], body["pricing"]["currency"])
print(body["attribution"]["text"])  # show this next to the data

The answer is an envelope with attribution, generatedAt and data. See the API overview for the shape and the compounds reference for every field.

Ground rules

  • Credit Peptilyze wherever you show the data: attribution.
  • Stay within the limits: about 15 requests a minute per client, see rate limits. One call to /api/v1/compounds already covers the whole catalog.
  • Send a User-Agent that names your application.
  • Peptilyze is a price comparison. It gives no dosing, usage or medical advice, and neither should a product built on the data imply it does.