How it works
WildTales gives each saved profile a numeric ID. Use this API to browse or submit directory records.
- Open the coin directory to browse profiles.
- Use
GET /api/coinsto read the first page of listings. - Send a JSON registration with a name and ticker to save a directory profile.
API access
Browser requests use the same origin as the site. For command-line examples, set WILDTALES_URL to the address of the WildTales site you are using.
Content-Type: application/json- Required for a registration request.
Accept: application/json- Listings and validation failures are returned as JSON.
List coins
GET /api/coins
Read profiles from newest to oldest, including submitted project details and the stored bundler preference.
limit- Number of results per page. The default is 24, with a range of 1 to 100.
q- Optional search string, up to 64 characters. Matches part of a name or ticker.
before- Optional positive integer cursor from nextBefore in the preceding response.
curl "$WILDTALES_URL/api/coins?limit=24"
{
"coins": [],
"nextBefore": null
}Register a profile
POST /api/coins
Send a JSON object with a name and ticker. Project links, description, bundler preference and retry ID are optional.
name- A display name containing 1 to 48 visible characters.
symbol- From 1 to 12 letters or digits, without a dollar sign. Stored in uppercase.
description- Optional plain text, up to 500 characters. Line breaks are supported.
website- Optional absolute HTTPS URL, up to 2,048 characters.
twitter- Optional X / Twitter handle or profile URL. Stored as a canonical https://x.com/ profile link.
bundler- Optional preference. Use
none(default) orplanned. The directory records the choice. requestId- Optional UUID. Reuse it with the same profile details when retrying a submission.
// Keep this request ID if you retry the same registration.
const coin = {
name: "Your coin", symbol: "TICKER", bundler: "none",
requestId: crypto.randomUUID()
};
const result = await fetch("/api/coins", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify(coin)
});
console.log(result.status, await result.json());A new profile returns 201 with the saved coin. Repeating the same UUID and normalized details returns 200 with the original record. Reusing the UUID for different details returns 409. Profiles may share a ticker.
Listing fields
id- Numeric identifier, also used by the pagination cursor.
name / symbol- Labels submitted during registration.
description / website / twitter- Submitted profile metadata, or null when omitted. Website and social links are normalized.
bundler- The stored preference, either none or planned.
registeredAt- UTC timestamp in ISO 8601 format.
Search and pagination
Use the q parameter to filter by name or ticker. If the server returns a number in nextBefore, use it as before in your next request and keep the same query. A null cursor marks the last page.
curl "$WILDTALES_URL/api/coins?q=GINO&limit=10"
Errors
Error responses contain an error message with details.
400- Invalid JSON or an invalid search or pagination parameter.
409- A request UUID was reused with different details.
413- The registration body exceeds 16,384 bytes.
415- The registration is missing the JSON content type.
422- Invalid profile details or request ID.
503- The directory or one of its dependent services is unavailable.
Node.js
Node.js 24 includes fetch. This example reads a page of directory profiles.
const endpoint = new URL("/api/coins?limit=10", process.env.WILDTALES_URL);
const response = await fetch(endpoint);
if (!response.ok) throw new Error("Directory returned " + response.status);
const page = await response.json();
for (const coin of page.coins) {
console.log(coin.id, coin.name, coin.symbol);
}Python
This example uses Python's standard library to inspect directory profiles.
import json
import os
from urllib.request import urlopen
with urlopen(os.environ["WILDTALES_URL"].rstrip("/") + "/api/coins?limit=10") as response:
page = json.load(response)
for coin in page["coins"]:
print(coin["id"], coin["name"], coin["symbol"])Story sources
Link to the original report when documenting an animal’s story. For Gino, the Metropolitan Police report documents his rescue in Bermondsey. BBC News describes his care at Monkey World in Dorset.
Story records
Saved profiles retain the submitted name, ticker, description and available links. Use the profile ID to identify a particular directory record.
Giving plan
WildTales proposes donating 50% of collected $GINO creator fees monthly to the Ape Rescue Trust if WildTales launches the coin and the organisation agrees. Direct contributions to the general primate rescue fund are available through Monkey World. Explore the giving plan.
Support
Use the support page to ask a question or request a correction. Return to the same browser to read a reply.