Use caseUpdated

Link-in-bio API: pages, links and clicks per day

A link-in-bio API lets your code build the page behind the link in a social profile. Siar, a unified social media API, gives each brand one public page at app.siaran.my/b/your-brand. You create it, add and reorder links, publish it, and read views and clicks per link per day.

  • One page per brand, at a slug of 3 to 40 lowercase letters, numbers and dashes.
  • Four item types: links, social links, headers and text.
  • Reorder every item in one call; hide an item without deleting it.
  • Views and clicks per day, and clicks per link, for any date range (30 days by default).

Create, fill and publish a page

A new page starts unpublished. Add items, then publish it; it appears at app.siaran.my/b/acme-bakery with a "Made with Siar" line at the bottom. It follows the visitor's light or dark setting and uses your accent color.

Example: create, add a link, publish
# One page per brand. It starts unpublished.
curl -X POST "https://api.siaran.my/api/v1/bio" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "slug": "acme-bakery",
    "title": "Acme Bakery",
    "description": "Bread from 7 a.m."
  }'
# → { "id": "BIO_ID", "slug": "acme-bakery", "published": false, "items": [], ... }

# Add a link
curl -X POST "https://api.siaran.my/api/v1/bio-item" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "bioId": "BIO_ID",
    "type": "LINK",
    "title": "Order online",
    "url": "https://acme.example/order"
  }'

# Publish the page
curl -X PATCH "https://api.siaran.my/api/v1/bio/BIO_ID" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "published": true
  }'

Reorder and edit

POST /bio-item/reorder takes the ids of every item on the page in the new order. PATCH /bio-item/{id} changes a title or URL, or sets active to false to hide an item and keep it for later.

OperationWhat it does
GET /bio, POST /bioList pages, or create the brand's page
GET, PATCH, DELETE /bio/{id}Read, change (title, slug, description, avatar, theme, published) or delete a page
POST /bio-itemAdd a link, social link, header or text
PATCH, DELETE /bio-item/{id}Change, hide or delete an item
POST /bio-item/reorderSet the order of every item
GET /bio-analyticsViews and clicks per day and clicks per link

Views and clicks per link

Siar counts a view each time the page opens and a click each time a link is followed. Ask for any date range; without one you get the last 30 days. The answer has total views and clicks, one row per day, and clicks per item.

Example: November for one page
curl "https://api.siaran.my/api/v1/bio-analytics?bioId=BIO_ID&from=2026-11-01&to=2026-11-30" \
  -H "x-api-key: $SIAR_API_KEY"

Looking for a Linktree API?

Linktree's developer page is an interest form. It says Linktree is expanding API access and documents no public API for managing links (Linktree developer page, checked 12 November 2026).

Siar's link-in-bio API is in its public OpenAPI file: create, read, update and delete pages and items, reorder, and daily analytics. Siar's page is a simple page per brand, though: one layout, your accent color, and no custom domain.

What this doesn't cover yet

  • One page per brand. A second page needs a second brand.
  • The page runs on app.siaran.my/b/ and carries a "Made with Siar" line.
  • One layout, with your accent color. No custom domain.

Keep reading

Frequently asked questions

What is a link-in-bio API?

It lets your code create and update the page people reach from the link in a social profile, and read how many people opened it and which links they followed. Siar gives each brand one such page.

Does Linktree have a public API?

Not one for managing links. Linktree's developer page is an interest form (checked 12 November 2026). Siar's link-in-bio API is public and documented in its OpenAPI file.

Does the link-in-bio page cost extra?

No. Each brand gets one page at no extra cost.

Can I see which link people click?

Yes. GET /bio-analytics returns views and clicks per day and clicks per link for any date range, 30 days by default.

Write it once. Siar it everywhere.

Pick a use case, send one request, and see what happened on each network. 20 free posts to try, no card.