API Documentation
DevToolsHub's formatting and conversion tools run entirely in the browser — there's no server-side processing API. What we expose are endpoints for sharing and retrieving snippets.
All tool transformations happen client-side using browser APIs (Web Crypto, TextEncoder, etc.). Your input never leaves your device. The endpoints below are only for shared snippet content you explicitly choose to publish.
Get a shared snippet
Retrieve a publicly shared snippet by its ID. No authentication required.
const res = await fetch(
"https://gainful-dev-kit-flow.base44.app/functions/get-shared-snippet",
{ method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ id: "<snippet-id>" }) }
);
const { snippet } = await res.json();
// snippet: { id, name, tool_slug, content, created_date }List public snippets
Browse the most recent community-shared snippets.
const res = await fetch(
"https://gainful-dev-kit-flow.base44.app/functions/list-public-snippets"
);
const { items } = await res.json();
// items: [{ id, name, tool_slug, preview, content, created_date }]Creating a share link
Sharing is performed through the app UI (the Share button on any tool). Signed-in users create a SharedSnippet record, which produces a permalink at /s/<id>.
Rate limits & fair use
These endpoints are intended for light, read-only access. For bulk access or integrations, contact us. Shared snippets are public — never include sensitive data.
Looking for tool usage help? Read the tool documentation.