Skip to content
SURBIAS
  • Home
  • About
  • Sign in
  • Search
  • β˜• Buy us a coffee
  • Home
  • About
  • Sign in
  • Search
  • β˜• Buy us a coffee

Public API

Access Surbias stories programmatically. Free, no auth required for read endpoints.

Base URL

https://surbias.com/api

Endpoints

GET /api/posts

List published posts.

Query parameters:

  • page (number) β€” Page number, default 1
  • category (string) β€” Filter by category: career, business, education, relationships, health, financial, other
  • locale (string) β€” Filter by language: en, es, de, fr, pt
  • sort (string) β€” Sort by: recent (default), hot, popular
  • q (string) β€” Search query (min 2 chars)

Response:

{ "posts": [...], "page": 1, "totalPages": 5, "total": 100 }

GET /api/posts/[id]/comments

Get comments for a specific post.

GET /feed.xml

RSS 2.0 feed. Optional ?locale= parameter.

GET /api/og/[id]

Auto-generated Open Graph image (SVG) for a post.

GET /api/embed/[id]

Embeddable HTML widget for a post. Use in an iframe.

Rate Limits

Public endpoints are rate-limited. Please be reasonable β€” max ~60 requests/minute.

Terms

By using the API you agree to our Terms of Service. Attribution appreciated but not required.

Home | About | Share your story | RSS | Stats
SURBIAS

Because failing is normal.

Β© 2026 Surbias

β˜• Buy us a coffee Terms of Service Privacy Policy API Enterprise