TSB1 API - There Should Be an API

Simple, focused APIs for common text operations. Because there should be an API for these things!

Available Endpoints

Slugify

POST /slugify

Converts any text into a URL-friendly slug. Handles special characters, accents, spaces, and more.

Request

Send your text directly in the request body:

curl -X POST https://tsb1api.com/slugify \
    -d 'Héllo Wörld! This is a test'

Response

Returns the slugified text directly:

hello-world-this-is-a-test

Examples

Input: "Crème Brûlée & Café!"
Output: creme-brulee-and-cafe

Input: "   Hello    ---    World   !!!"
Output: hello-world

Live Check

POST /live-check

Checks if a URL is live and accessible. Simple boolean response.

Request

Send the URL directly in the request body:

curl -X POST https://tsb1api.com/live-check \
    -d 'https://example.com'

Response

Returns true if the URL is live, false otherwise.

Examples

Input: "https://google.com"
    Output: true

    Input: "https://this-surely-does-not-exist.com"
    Output: false

    Input: "not-a-valid-url"
    Output: Invalid URL format. Must start with http:// or https://

About

TSB1 API provides simple endpoints for common text operations. No authentication required, no rate limits (yet), just simple APIs that do one thing well.