Platform API v1

Developer Docs

Read-only access to public blog and project content. Register for an account, generate an API key from the dashboard, and pass it on every request.

Authentication

Send your API key in the x-api-key header. Keys are shown once at creation and stored as SHA-256 hashes — treat them like passwords.

curl -s "https://alainmorris.com/api/v1/posts" \
  -H "x-api-key: pk_dev_your_key_here"

Rate limits

Limits are per API key, per minute. Response headers include X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset.

PlanLimit
free10 / minute
developer60 / minute
enterprise1000 / minute

Endpoints

GET/api/v1/posts

List published blog posts (title, slug, date, tags, reading time).

https://alainmorris.com/api/v1/posts
GET/api/v1/projects

List portfolio projects (title, slug, tech stack, category, links, status).

https://alainmorris.com/api/v1/projects

Errors

  • 401 — missing, invalid, or revoked API key
  • 429 — rate limit exceeded for your plan
  • 500 — server error