Public APIs
1pt favicon

1pt

URL Shorteners

A simple URL shortener.

1pt's website screenshot

About 1pt

1pt.co provides a public API for creating shortened URLs. The API exposes a single POST endpoint, /addURL, which accepts a required long URL parameter and an optional short parameter specifying the custom slug to use after 1pt.co/. If no short value is provided, or the requested one is already taken, the API generates a random 5-letter string instead, returning a receivedRequestedShort flag set to false in that case.

The service is aimed at developers who want to integrate URL shortening into their own applications or scripts without building shortening infrastructure themselves. Responses are returned as JSON, including the assigned short code and the original long URL.

Key features

  • Public API to create shortened URLs via POST /addURL
  • Optional custom short code after 1pt.co/, or a random 5-letter string if omitted or taken
  • Returns JSON response with the generated short code and original long URL

Frequently asked questions

What does the 1pt.co API do?

It lets anyone create a shortened URL by sending a POST request to the /addURL endpoint with a long URL.

Can I choose my own short link?

Yes, you can optionally specify the short code that appears after 1pt.co/; if it's not provided or already taken, a random 5-letter string is generated instead.

What format does the API return?

It returns a JSON object containing a message, the short code, and the original long URL.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product