Developer API v1

Usage certificate

Siam POTOJA Developer API & SDK · Issued 2026-11-26

This certifies that SK Potoja grants the holder of the API key below full permission to access the Siam POTOJA public app database through the official API and SDK documented on this page, to submit new apps through the API, and to build apps, websites and integrations with it. Content belongs to its respective owners. Attribution “Data: Siam POTOJA” is appreciated. Abusive or excessive use may be rate-limited or revoked.

API key & base URL

Send the key with every request as the X-API-Key header (or ?api_key=).

API base URL

https://skpotoja.lovable.app/api/public/v1

API key

skp_live_7c3f9e2a1b8d4650af23e9c7d18b4e6f5a0c9d3e8f7b2a41

Endpoints

GEThttps://skpotoja.lovable.app/api/public/v1/appsList apps — params: limit (max 100), offset, q (name search), category.
GEThttps://skpotoja.lovable.app/api/public/v1/apps/{slug}One app with full details (screenshots, download info).
POSThttps://skpotoja.lovable.app/api/public/v1/appsSubmit an app (name + APK link) — it is saved in the database and appears on the site.
GEThttps://skpotoja.lovable.app/api/public/v1/sdk.jsOfficial JavaScript SDK (no key needed to download).

Examples

curl

curl -H "X-API-Key: YOUR_KEY" \
  "https://skpotoja.lovable.app/api/public/v1/apps?limit=20"

curl — submit an app

curl -X POST \
  -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"name":"My App","apkUrl":"https://example.com/app.apk","categories":["Tool"]}' \
  "https://skpotoja.lovable.app/api/public/v1/apps"

JavaScript (fetch)

const res = await fetch("https://skpotoja.lovable.app/api/public/v1/apps?q=photo", {
  headers: { "X-API-Key": "YOUR_KEY" },
});
const { apps, total } = await res.json();

JavaScript (SDK)

<script src="https://skpotoja.lovable.app/api/public/v1/sdk.js"></script>
<script>
  const potoja = new SiamPotoja({ apiKey: "YOUR_KEY" });
  const apps = await potoja.apps({ limit: 20, q: "photo" });
  const one  = await potoja.app("some-app-slug");
</script>

Response

List endpoint response shape:

{
  "ok": true,
  "total": 101,
  "count": 20,
  "limit": 20,
  "offset": 0,
  "apps": [
    {
      "slug": "example-app",
      "name": "Example App",
      "version": "1.2.3",
      "platform": "android",
      "categories": ["PHOTO EDITOR"],
      "rating": 4.5,
      "logoUrl": "https://…",
      "screenshots": ["https://…"],
      "apkUrl": "https://…",
      "downloadUrl": "https://…"
    }
  ]
}

Maintained by SK Potoja · v1 · 2026-11-26