PASAR API · DOCS

Every API in Malaysia, as an API.

← back to directory

The Pasar API catalogue ~ government open data (data.gov.my) plus curated commercial APIs ~ is available as a public REST API and a remote MCP server. Both are read-only, authless, and CORS-open. Base URL: https://pasarapi.krackeddevs.com

REST API

Every response is JSON, edge-cached for 24h (the gov catalogue refreshes daily). Each entry has a tier (open = free, no-auth, copy-paste-ready · commercial = real auth/pricing + docs link).

EndpointReturns
GET /api/catalogueThe full list: { updated, count, apis[] }
GET /api/searchFiltered list. Params: q, category, tier, pricing, auth, free=true, no_auth=true
GET /api/apis/:idOne entry + a ready-to-run snippet, docs link, and AI prompt
GET /api/categories[{ category, count }]

Example ~ find free, no-auth weather APIs

curl 'https://pasarapi.krackeddevs.com/api/search?q=weather&no_auth=true'

Example ~ get one API with a working snippet

curl 'https://pasarapi.krackeddevs.com/api/apis/fuelprice'

{
  "id": "fuelprice",
  "title": "Weekly fuel prices (RON95, RON97, diesel)",
  "tier": "open",
  "auth": "none",
  "pricing": "free",
  "copyable": true,
  "curl": "curl 'https://api.data.gov.my/data-catalogue/?id=fuelprice&limit=10'",
  "prompt": "..."
}

MCP server

A remote MCP server at /mcp (stateless Streamable HTTP). Connect it in Claude, Cursor, or any MCP client and your AI agent can search and integrate Malaysian APIs directly ~ no copy-pasting.

Connect it (Claude Desktop / Cursor)

{
  "mcpServers": {
    "pasar-api": {
      "command": "npx",
      "args": ["mcp-remote", "https://pasarapi.krackeddevs.com/mcp"]
    }
  }
}

Clients with native remote-MCP support can point straight at https://pasarapi.krackeddevs.com/mcp.

Tools

ToolDoes
search_malaysian_apisSearch by query, category, free, no_auth
get_malaysian_apiFull details for one id + a ready-to-run snippet + docs + AI prompt
list_api_categoriesAll categories with counts

Try asking your agent: “What free Malaysian weather API can I use, and how do I call it?”

Tiers & honesty

open entries are free and need no auth ~ the snippet works as-is. commercial entries (payments, logistics, telco, banking, e-invoicing…) are key-gated, so instead of a fake call you get the provider's real docs link, auth type, and pricing. Every commercial entry's docs URL is fact-checked; providers with no genuinely public API are excluded, not invented.