Answers to the most common questions about the lyng API.
Yes. The API is designed for developers who want to integrate link shortening into their own apps or scripts. If you just want to shorten links without coding, use the lyng website directly.
Yes, API access is included on the free plan. However, free accounts are limited to 60 total links. Premium accounts get unlimited links and custom slugs.
The most common reasons are: you copied it incorrectly (double-check for missing characters), there is an extra space before or after the key, or the key has been revoked. You can generate a new key anytime from your Developer dashboard.
API keys are only shown once for security reasons. If you lose it, revoke the old key from your Developer dashboard and generate a new one.
Not yet. The current API only supports creating and listing links. To delete a link, go to your dashboard on the lyng website. We plan to add a delete endpoint in a future version.
Any request to create a new link will return a 429 error. You can free up space by deleting old links from your dashboard, or upgrade to Premium for unlimited links.
A slug is the short text at the end of your link. For example, in lyng.my.id/hello, the slug is "hello". By default lyng generates a random 6-character slug. Premium users can set a custom one.
Technically yes, but you should not. Your API key would be visible to anyone who inspects your page. Only use the API in server-side code: Node.js backends, serverless functions, scripts, etc.
Yes. Every time someone visits a short link, the click count goes up by one. You can see this in your dashboard or by calling the GET /links endpoint.
We do not publish specific rate limits, but abusive usage may result in your key being suspended. For normal development and production use, you will not hit any limits.
Email us at hellolyng@gmail.com and we will get back to you.