Selpho for Developers
Docs Log in Get API keys

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.

curl https://selpho.com/v1/peptides/bpc-157 \ -H "Authorization: Bearer sk_live_YOUR_KEY"

Endpoints

MethodPathCreditsBody / query
GET/v1/peptidesFree?q= &cat= &offset= &limit=
GET/v1/peptides/:slugFree
POST/v1/advisor1{ input, history? }
POST/v1/symptom-insights1{ symptoms: [] }
POST/v1/mood-insights1{ entries: [] }
POST/v1/vision2{ image: base64, format? }
POST/v1/lab3{ text }

AI endpoints except the advisor require a secret key. Insufficient credits return 402; an unknown/blocked key returns 401/403.

Example: AI advisor

curl -X POST https://selpho.com/v1/advisor \ -H "Authorization: Bearer sk_live_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"input":"joint pain and slow recovery"}'

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.

<div data-selpho-peptide="bpc-157" data-key="pk_live_YOUR_KEY"></div> <script src="https://selpho.com/embed.js" async></script>

Optional data-theme="dark". Add as many data-selpho-peptide elements as you like on one page.

Widget 2 — peptide card (iframe)

<iframe src="https://selpho.com/widget/peptide/tb-500?theme=light" style="width:100%;max-width:520px;height:420px;border:0;"></iframe>

Widget 3 — interactive advisor (iframe)

<iframe src="https://selpho.com/widget/advisor?key=pk_live_YOUR_KEY" style="width:100%;max-width:560px;height:520px;border:0;"></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.

Get your API keys →