Corhack
How it worksSignalsProtocolCoachTrustLibrary
Membership
CORHACK / DEVELOPER PORTALAPI CONTRACTS & AGENT DISCOVERY

Developer Portal.

Programmatic REST APIs, OpenAPI 3.0.3 specifications, CLI tooling, and agentic integrations for Corhack.

DEVELOPERSOverview & QuickstartOpenAPI SpecificationsREST API EndpointsContent NegotiationOfficial CLIAgent InstructionsAbout UsSupport
MACHINE-READABLE SPECIFICATIONS & APIs

Build agents and integrations with Corhack.

Public API Version 1.0.0 • No Auth Required for Discovery Endpoints

01

Quickstart with curl

All public API endpoints are unauthenticated and return standard JSON. You can query them directly from the command line or from agent workflows:

# 1. Fetch official site metadata and download links
curl -s https://corhack.com/api/v1/site

# 2. Check API service health
curl -s https://corhack.com/api/v1/health

# 3. List evidence-led guides in the Signal Library
curl -s https://corhack.com/api/v1/library

# 4. Fetch details, takeaways, and citations for a guide
curl -s https://corhack.com/api/v1/library/what-testosterone-does
02

OpenAPI 3.0.3 Specifications

Corhack publishes self-describing OpenAPI 3.0.3 contracts formatted for LLM function calling and automatic client generation:

  • /openapi.json — Complete OpenAPI document in standard JSON format.
  • /api/openapi.yaml — YAML representation for Swagger/Redoc tooling.

Every operation defines a unique operationId, detailed summary, typed parameters, and structured response schemas.

03

REST API Reference

GET/api/v1/site

Returns app description, official store download links, brand boundaries, and canonical discovery URLs.

GET/api/v1/health

Returns operational availability, version number, and UTC timestamp.

GET/api/v1/products

Returns product features (Signals, Protocol, Companion Coach) and membership plans.

GET/api/v1/library

Returns list of published evidence-led guides with evidence levels, reading times, and summaries.

GET/api/v1/library/:slug

Returns full article data including clinical limits and cited academic sources.

04

Markdown Content Negotiation (acceptmarkdown.com)

AI agents crawling or consuming Corhack can request raw Markdown directly instead of parsing HTML. Set the HTTP request header:

curl -s -H "Accept: text/markdown" https://corhack.com/how-it-works

All negotiateable responses include the Vary: Accept, Accept-Encoding header to ensure seamless CDN caching.

05

Official CLI Tool

You can interact with Corhack programmatically using the official command-line tool via npx:

# Run CLI help
npx corhack --help

# Inspect API health and service status
npx corhack status

# Retrieve site metadata
npx corhack site

# List published Signal Library articles
npx corhack library

# Inspect an article
npx corhack library what-testosterone-does

# Output raw OpenAPI document
npx corhack openapi
06

Agent Instructions & llms.txt

For autonomous AI agents, we provide machine discovery instructions adhering to the llms.txt standard:

Read /llms.txt or /llms-full.txt to understand when to reach for Corhack (daily lifestyle rhythm tracking and non-clinical health education) and when not to reach for Corhack (clinical diagnosis, emergency care).

Corhack
CORHACK / SIGNAL DESK

Keep the day
within reach.

Sleep, training, meals, and next actions stay close in one personal view. Download Corhack from the store you already use.

Download on the App StoreGet it on Google Play
EXPLORE
How it worksSignalsProtocolMeet CoachMembershipSignal LibraryDeveloper portal
TRUST & SUPPORT
Trust overviewAbout CorhackContactPrivacy policyTerms & conditionsMembership help
Signal to strength© 2026. All rights reserved by Altamsun LTD.