stilo API

Create your stilo links and work with the stilo catalog from your own tools: your website, a spreadsheet or a script.

What you can do

  • Check any store URL: is it in stilo, and what do you earn?
  • Create links for one product, a batch of products, or a brand's whole catalog, and keep them in sync every night.
  • Browse brands and products you can earn from in your market, with your commission rate on each one.

Every request acts as the Creator who owns the key and only ever sees that Creator's own data. Links only work for stores in the stilo network.

Quickstart

1. Create a key. In stilo, go to Configuración › API, choose what the key can do, and copy it. You'll only see it once. Keep it on your server or in a password manager.

2. Check it works.

Terminal
export STILO_API_KEY="stilo_sk_..."

curl https://api.stilo.io/v1/me \
  -H "Authorization: Bearer $STILO_API_KEY"

3. Get your link for a product. Paste the product URL from the store:

Terminal
curl https://api.stilo.io/v1/links \
  -H "Authorization: Bearer $STILO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://cosmetic.cl/products/lapiz-labial-nars-new-misbehave"}'
Response · 201 Created
{
  "id": "lnk_c7537e8f07064c0980dcf6c341f696e1",
  "type": "product",
  "short_url": "https://go.stilo.io/p/AbC123XyZ9/",
  "title": "Labial Nars New Misbehave",
  "product": { "id": "prd_ca2a62a303b94bc5a390f9f5b58f244b", "name": "Labial Nars New Misbehave", "available": true },
  "variant": null,
  "retailer": { "id": "ret_6bec1bac16aa49cd90008629751021c3", "name": "Cosmetic", "country": "CL", "currency": "CLP" },
  "commission": { "rate": "0.04" },
  "created_via": "api",
  "active": true,
  "created_at": "2026-11-05T19:40:12Z"
}

Share the short_url. Asking for the same product again returns the same link, so you can run your script as often as you like.

A store outside the stilo network answers 422 not_commissionable. We never create links to other sites.

Next