specifications
quick start
Shorten a URL
const res = await fetch('https://api.1pt.co/addURL?long=https://example.com');
const { short } = await res.json();
console.log('https://1pt.co/' + short);import requests
res = requests.get('https://api.1pt.co/addURL', params={'long': 'https://example.com'})
print('https://1pt.co/' + res.json()['short'])about
About 1pt API
The 1pt API is a url shorteners API that gives developers easy access to url shorteners-related data and functionality. It is designed for both quick prototypes and production applications.
Key Features
- Comprehensive API documentation
- Secure HTTPS endpoints
- CORS enabled for browser requests
- No authentication
- Reliable uptime and fast response times
- Reasonable rate limits
- Active developer community support
Perfect For
- URL Shorteners management applications
- URL Shorteners analytics tools
- URL Shorteners integration platforms
- Custom url shorteners solutions
Getting Started
Register for an account and obtain your OAuth credentials. Once you have your credentials, you can start making authenticated requests.
The API documentation provides comprehensive guides and code examples to help you integrate quickly and efficiently.
faq
1pt API — Frequently Asked Questions
How do I get started with the 1pt API?
Register for an OAuth token from the official documentation page.
Is the 1pt API really free?
Yes! The 1pt API offers a free tier. Rate limits apply but are generous for most use cases. Check the official docs for details.
Can I use this API in a commercial project?
Most free APIs support commercial use, but terms vary. Review the 1pt API's terms of service and licensing before using it commercially.
What programming languages can I use?
The 1pt API is a REST API — any language that can make HTTP requests works. Popular choices include JavaScript, Python, PHP, Java, and Go.
comments
Related URL Shorteners APIs
6Bitly
URL shortener and link management
CleanURI
URL shortener service
ClickMeter
Monitor, compare and optimize your marketing links
Clico
URL shortener service
Cutt.ly
URL shortener service
Drivet URL Shortener
Shorten a long URL easily and fast