Skip to main content

AllMyPeptides API

JSON API for accounts, loyalty state, payment checkout creation, and a machine-readable product catalog. Base URL: https://allmypeptides.com

OpenAPI spec API catalog (RFC 9727) auth.md Agent skills products.json

Authentication

Session-cookie based (amp_sess, HttpOnly, 30 days), issued by signup or login. OAuth/OIDC is not supported. Full details in auth.md.

Endpoints

EndpointDescription
GET /api/healthHealth check; returns {"status":"ok"}.
POST /api/auth/signupCreate an account (email, password, first/last name). Sets session cookie; grants 100-point welcome bonus.
POST /api/auth/loginLog in with email + password. Sets session cookie.
GET /api/auth/meCurrent profile and loyalty state (points, tier, history). Requires cookie.
POST /api/state/syncPersist profile edits (first/last name, phone) and loyalty state. Requires cookie.
POST /api/auth/logoutDestroy the session.
POST /api/create-checkoutCreate a SumUp hosted-checkout payment link for an order; payment is completed by a human on SumUp's page.

Product catalog

A static, regularly regenerated catalog of all products with sizes, GBP prices, and live stock flags is published at /products.json — no authentication required.

Agent content negotiation

HTML pages on this site can be requested as Markdown by sending Accept: text/markdown; the response carries Content-Type: text/markdown and an x-markdown-tokens estimate.