API Docs & Widgets
Base URL https://selpho.com. Authenticate with an API key from your Keys page.
Authentication
Send your secret key in the Authorization header for server-side calls. Publishable keys may be passed as ?key= and are restricted to reference data and the advisor, enforced against your allowed domains.
Endpoints
| Method | Path | Credits | Body / query |
|---|---|---|---|
| GET | /v1/peptides | Free | ?q= &cat= &offset= &limit= |
| GET | /v1/peptides/:slug | Free | — |
| POST | /v1/advisor | 1 | { input, history? } |
| POST | /v1/symptom-insights | 1 | { symptoms: [] } |
| POST | /v1/mood-insights | 1 | { entries: [] } |
| POST | /v1/vision | 2 | { image: base64, format? } |
| POST | /v1/lab | 3 | { text } |
AI endpoints except the advisor require a secret key. Insufficient credits return 402; an unknown/blocked key returns 401/403.
Example: AI advisor
Widget 1 — peptide card (copy-paste)
Renders a native info card that inherits your page's fonts. Use a publishable key locked to your domain.
Optional data-theme="dark". Add as many data-selpho-peptide elements as you like on one page.
Widget 2 — peptide card (iframe)
Widget 3 — interactive advisor (iframe)
Each advisor submission spends 1 credit against your account.
Terms
All content is educational only and must not be presented as medical advice, diagnosis, or treatment, or attached to a specific product for sale as a claim. Responses never include dosing or purchase information. See our privacy policy.