For agents and developers

Public API

Read only · No authentication · JSON, text and Markdown

Read-only endpoints so AI agents and tools can query the site without parsing page HTML.

What it is

Every endpoint answers GET with no login, key or sign-up, and none of them stores data. To book a call or send a message, use the site pages or the agent skills.

The text returned by the API is in Portuguese.

Endpoints

  • /.well-known/api-catalog
    Catalog of the site APIs in Linkset format (RFC 9727).
  • /openapi.json
    Description of this API in OpenAPI 3.1 format.
  • /api/health
    Site status: whether it is up, the published version and a timestamp. Returns 503 when an internal service fails.
  • /.well-known/agent-skills/index.json
    Index of the agent skills (Agent Skills Discovery).
  • /.well-known/agent-skills/{nome}/SKILL.md
    Instructions for one skill in Markdown: agendar-conversa or conhecer-o-trabalho.
  • /llms.txt
    Site map for language models: what the site does and when to use it.
  • /llms-full.txt
    Full text of the public pages and open articles, in Markdown.
  • /md/{pagina}
    A public page in Markdown. The same content is returned when the page address is requested with the Accept: text/markdown header.

Automatic discovery

The catalog lives at the standard address /.well-known/api-catalog, and the home page points to it in the Link header with the api-catalog relation. The catalog entry links the OpenAPI description (service-desc), this documentation (service-doc) and the site status (status).

Examples

Site status

curl -s https://juancardenas.com.br/api/health

API catalog

curl -s -H "Accept: application/linkset+json" https://juancardenas.com.br/.well-known/api-catalog

Page in Markdown

curl -s -H "Accept: text/markdown" https://juancardenas.com.br/sobre

Usage

Free to use within reason: respect the cache set on each response (Cache-Control) and avoid bursts of requests. The catalog and the OpenAPI description can be read from any origin (CORS).

Contact

Questions, bugs or integration requests: [email protected]