Twins
🤖 AI Twins API
Access public AI twin data including metadata, social profiles, and statistics.
Use Cases:
Search twins by name, collection, or attributes
Get detailed twin information
Filter by collection tier (Gold, Silver, Bronze)
Sort by rating, creation date, or name
Retrieve a paginated list of public AI twins with optional filtering and sorting.
Example Use Cases:
Get all Gold tier twins:
?collection=goldSearch by name:
?search=KurohaneTop rated twins:
?sort=rating&order=DESC
Full-text search across name, description, collection, languages, and social profiles
KurohaneFilter by collection tier
goldPossible values: Sort field
ratingPossible values: Sort order (ascending or descending)
DESCPossible values: Maximum number of results per page (max 50)
10Number of results to skip for pagination
0OK
Not Found
Too Many Requests
Internal Server Error
curl -X GET "https://api.twnlabs.com/v1/twins?collection=gold&limit=10" \
-H "Accept: application/json"
{
"success": true,
"twins": [
{
"twin_id": "TWN-G0",
"short_id": "G0",
"twin_name": "Kurohane",
"twin_description": "AI digital twin focused on creative content and digital art",
"collection_type": "gold",
"is_minted": true,
"mint_date": "2025-01-15T10:30:00Z",
"rating": 4.8,
"like_count": 245,
"interaction_count": 1520,
"share_count": 89,
"languages": [
"English",
"Japanese"
],
"twitter": "@kurohane_ai",
"avatar_url": "https://twnlabs.com/assets/twins/TWN-G0/avatar.png",
"created_at": "2025-01-10T08:00:00Z"
}
],
"total": 45,
"limit": 10,
"offset": 0,
"hasMore": true
}Retrieve detailed information about a specific AI twin by its short ID.
Supported ID Formats:
Short form:
G0,S1,B12Full form:
TWN-G0,TWN-S1,TWN-B12
Short twin ID (e.g., G0, S1, B12). Full form (e.g., TWN-G0) is also accepted.
G0OK
Not Found
Internal Server Error
curl -s "https://api.twnlabs.com/v1/twins/G0"
{
"success": true,
"twin": {
"twin_id": "text",
"short_id": "text",
"twin_name": "text",
"twin_description": "text",
"twin_birthdate": "text",
"twin_nationality": "text",
"languages": [
"text"
],
"collection_type": "gold",
"is_minted": true,
"mint_date": "text",
"avatar_url": "https://example.com",
"image_url": "https://example.com",
"contract_address": "text",
"creator_address": "text",
"tx_hash": "text",
"metadata_uri": "text",
"twitter": "text",
"instagram": "text",
"discord": "text",
"twitch": "text",
"like_count": 1,
"interaction_count": 1,
"rating": 1,
"rating_count": 1,
"status": "text",
"created_at": "text",
"updated_at": "text"
}
}Retrieve public analytics for a specific twin (views, likes, interactions, shares, rating). Returns data for public twins, or for the owner when authenticated.
Short twin ID (e.g., G0). Full form (e.g., TWN-G0) is also accepted.
G0OK
Not Found
Too Many Requests
Internal Server Error
GET /v1/twins/{short_id}/analytics HTTP/1.1
Host: api.twnlabs.com
Accept: */*
{
"success": true,
"analytics": {
"view_count": 1520,
"like_count": 245,
"interaction_count": 1520,
"share_count": 89,
"rating": 4.8,
"rating_count": 37,
"rating_pending": false,
"daily_avg_views": 24.67,
"engagement_rate": 115.13
}
}Last updated
