A Wallgone link opens a foreign-language page translated into the reader’s language, with a bar on top that carries your name on Pro and Premium.
At a glance
- Base URL
https://wallgone.com/v1- Authentication
Authorization: Bearer wg_…- Format
- JSON requests and answers
- Link name
- Dashboard → Settings
- Plans
- Starter, Pro and Premium, with every language
Two ways to make links
There are two ways to make a link in code:
- Send the page address and a language to
POST /v1/linkswith an API key, and the answer is the link, as in the dashboard. The link carries your link name and no signature: the address is saved to your account, and the translator opens links under your name only for addresses saved this way. This suits a CMS, a bot or an app that can make one request per link;POST /v1/links/bulkmakes up to 500 in one. - Sign the link in your own code with the link signing key. There is no request to Wallgone, so a newsletter template can make every link of an issue while it renders, including pages it never sent to the API.
Readers get the same page from both, and both count the same way. You find API keys, the link signing key (a key ID and a secret) and the translator origin that every link starts with (https://wallgone.link) in Dashboard → Developers, and your link name in Dashboard → Settings. The API, the link signing key and the MCP server come with Starter, Pro and Premium; Free has the dashboard. Every plan includes every language.
Requests
The base URL is https://wallgone.com/v1. Requests and answers are JSON: send Content-Type: application/json with every body. Form-encoded bodies work too. A body sent without either content type is not read, and the request fails with bad_url, or with bad_links on /v1/links/bulk.
Two more endpoints read what the account has. GET /v1/links lists your links, the most recently made or opened first, with each one’s opens, translated pages and failed loads in the last 30 days; q searches the addresses, and offset and limit (up to 100, 50 by default) page through them. GET /v1/account gives the plan and its features, this month’s pages and the pages left, your link name and the languages in your bar.
Call the API from your server
It sends no CORS headers, so a web page on another site can’t call it, and an API key placed in a web page is readable by anyone who opens it.
Authentication
Send an API key in the Authorization header of every request:
Authorization: Bearer wg_your_key
Create keys in Dashboard → Developers and give each one a name. A key starts with wg_ and is shown once, when you create it; after that the dashboard shows only its first characters, so copy it then. Revoke a key in the same place. A revoked key stops working at once, and requests with it, with a mistyped key or with none get 401 unauthorized. Closing the account revokes every key.
API keys only authorise API calls, so revoking one leaves every link you made working.
Signing links yourself
To make links without a request to Wallgone, sign them with the link signing key. Links from the dashboard and the API don’t need this. Sign links in your own code has the link format, the signature, and tested examples in Node.js, Python and PHP.