Docs
View as Markdown

Unified schema

Different platforms name the same idea differently: a follower count is followers_count on one, subscribers on another and statistics.subscriberCount on a third. Onekey maps every source onto one small, fixed set of field names, so you write your parsing once.

The fixed schema has 147 fields (version 1.0). It is read from the same definition the backend enforces, and the counts below come from the endpoint mappings in the platform specs (1,995 endpoints), so they are always current. Schema changes are additive only: a field is never renamed, retyped or removed inside a major version.

The envelope#

Every response has the same four top-level keys. data holds the unified fields below; metadata and error are the same for every platform.

KeyTypeMeaning
successbooleantrue when you got data. Check it first.
dataobject, array or nullThe unified fields (this page). null on failure.
metadataobjectplatform, endpoint, cached, stale, age_s, fetched_at, credits_charged, request_id.
errorobject or nullnull on success. Otherwise code, message, request_id.

Details and a full example: Response envelope. Error codes: Errors.

Field groups#

Inside data, fields are grouped by what they describe. A field a platform does not have is null, never missing, so you can read it without checking. An endpoint only fills the groups that make sense for it.

GroupWhat it holdsFieldsMost used
entityThe thing itself when it is not a post: a package, repo, coin, place, article, subreddit. Shared counters live under entity.stats.*.31name, id, url, description, category
contentSomething written or published: a post, comment, video, listing, with its text, title, link and timestamps.15createdAt, text, id, title, url
authorWho made it, or the profile itself: username, display name, follower counts, avatar, profile URL.18displayName, username, id, avatarUrl, url
engagementHow people reacted: likes, comments, shares, views, bookmarks.9likes, comments, views, shares, bookmarks
mediaAttached media: thumbnail and file URLs, durations.10thumbnailUrl, durationSeconds, url, previewUrl, audioUrl
marketTickers, quotes and prediction markets: symbol, price, volume, bid/ask.19symbol, price, volume, volume24h, liquidity
placeWhere something is: coordinates, address, city, time zone.6lat, lon, address, city, timeZone
listingProducts, jobs and rentals: price, brand, seller, company, salary.18price, currency, brand, company, seller
packageRepositories and packages: version, license, links, default branch.12version, homepageUrl, license, repositoryUrl, defaultBranch
paperScholarly works: DOI, journal, publisher, open-access link.7publisher, doi, journal, issn, venue
eventDated occurrences: start and end date.2startDate, endDate
extAnything platform-specific with no canonical home. Flat camelCase names, documented on each endpoint page.opensee the ext section below

How values are typed#

Type shownWhat Onekey does
numberConverted to a number; anything that is not numeric becomes null.
stringText.
booleantrue/false; 1, yes, y and 0, no, n are understood.
string (ISO 8601)Dates and epoch timestamps become UTC, for example 2026-01-01T12:00:00Z.
string (http/https URL)Only real http or https links pass; anything else is null.
list of stringsTags, topics and similar lists.

Every field#

Each table lists a group's fields with how many endpoints emit it and on which platforms (up to five are named). To see exactly how one endpoint maps its fields, open it from the platform catalog: each endpoint page has a Field mapping section with the source path for every field.

entity#

17 fields.

FieldTypeEndpointsPlatforms
entity.idstring632Jikan, Musicbrainz, Apple, LinkedIn, Facebook +160 more
entity.namestring833Stack Exchange, LinkedIn, GitHub, Reddit, Jikan +200 more
entity.slugstring71Polymarket, Manifold, Substack, Ckan, Leetcode +24 more
entity.urlstring (http/https URL)384Jikan, LinkedIn, Apple, Openalex, Facebook +107 more
entity.descriptionstring343Jikan, LinkedIn, GitHub, Tripadvisor, Kitsu +128 more
entity.typestring108Jikan, Musicbrainz, Dns, Modrinth, Kitsu +41 more
entity.categorystring189Itunes, Nws, Apple, Anilist, Coinbase +69 more
entity.tagslist of strings50Huggingface, GitHub, Amo, GitLab, Shopify +17 more
entity.statusstring67Jikan, Anilist, Kitsu, Tvmaze, Chess +21 more
entity.languagestring26GitHub, Codeberg, Gutenberg, Tvmaze, Bitbucket +5 more
entity.countrystring32Musicbrainz, Openalex, Discogs, Lever, Rdap +14 more
entity.locationstring45Facebook, Jobs, Crossref, Greenhouse, Gumtree +13 more
entity.datestring (ISO 8601)116Polymarket, Treasury, Manifold, Blockstream, Coingecko +35 more
entity.yearnumber (integer)22Jikan, Anilist, Discogs, Speedrun, Trakt
entity.releaseDatestring (ISO 8601)24Musicbrainz, Itunes, Apple Music, Deezer, App Store +2 more
entity.createdAtstring (ISO 8601)83Huggingface, crates.io, GitHub, Manifold, Codeberg +30 more
entity.updatedAtstring (ISO 8601)73GitHub, Huggingface, Codeberg, crates.io, Docker Hub +20 more

entity.stats#

14 fields.

FieldTypeEndpointsPlatforms
entity.stats.downloadsnumber (integer)58crates.io, Huggingface, Modrinth, Rubygems, Gutenberg +14 more
entity.stats.ratingnumber99Tripadvisor, Tmdb, Klarna, Amo, Lichess +28 more
entity.stats.ratingCountnumber (integer)59Tripadvisor, Klarna, Sephora, Aliexpress, Amo +18 more
entity.stats.ranknumber (integer)48Jikan, Deezer, Chess, Us Congress Trades, Gbif +12 more
entity.stats.scorenumber43Jikan, Anilist, Datamuse, Kitsu, Chess +8 more
entity.stats.popularitynumber32Jikan, Anilist, Tmdb, Spotify, Aur +1 more
entity.stats.starsnumber (integer)19GitHub, Codeberg, Docker Hub, GitLab, Artifacthub +1 more
entity.stats.forksnumber (integer)14GitHub, Codeberg, GitLab, Depsdev
entity.stats.openIssuesnumber (integer)15GitHub, Codeberg, GitLab, Depsdev
entity.stats.watchersnumber (integer)12GitHub, Codeberg, Trakt
entity.stats.followersnumber (integer)29LinkedIn, Lemmy, Reddit, Modrinth, Spotify +5 more
entity.stats.membersnumber (integer)12Roblox, Lichess, Manifold, Vk, Chess +1 more
entity.stats.favoritesnumber (integer)14Anilist, Jikan, Roblox
entity.stats.itemCountnumber (integer)22Deezer, Itunes, Spotify, Arena, TikTok +5 more

content#

15 fields.

FieldTypeEndpointsPlatforms
content.idstring631GitHub, YouTube, Hacker News, Stack Exchange, Bluesky +138 more
content.urlstring (http/https URL)412LinkedIn, GitHub, Hacker News, Stack Exchange, Web +100 more
content.titlestring560YouTube, Wikipedia, Reddit, GitHub, LinkedIn +138 more
content.textstring644LinkedIn, Bluesky, TikTok, GitHub, Stack Exchange +131 more
content.createdAtstring (ISO 8601)655Stack Exchange, GitHub, LinkedIn, Reddit, TikTok +141 more
content.updatedAtstring (ISO 8601)56GitHub, Discourse, GitLab, Amo, Us Congress Trades +13 more
content.languagestring64Bluesky, Mastodon, DEV Community, Web, X (Twitter) +18 more
content.categorystring33Itunes, Twitch, Audius, Kick, PyPI +4 more
content.typestring21Us Congress Trades, Omdb, Stack Exchange, Crossref, Google +5 more
content.slugstring12Discourse, Twitch
content.statestring18GitHub, GitLab, Codeberg, Bitbucket
content.yearnumber (integer)25Europepmc, Semanticscholar, Wikipedia, Omdb, Crossref +5 more
content.releaseDatestring (ISO 8601)10Tmdb, Genius
content.parentIdstring1Hacker News
content.threadIdstring3Hacker News

author#

18 fields.

FieldTypeEndpointsPlatforms
author.idstring404Bluesky, Stack Exchange, YouTube, Mastodon, Lemmy +70 more
author.usernamestring527GitHub, Instagram, Bluesky, Stack Exchange, TikTok +78 more
author.displayNamestring550LinkedIn, YouTube, Itunes, Bluesky, TikTok +116 more
author.avatarUrlstring (http/https URL)298Stack Exchange, Bluesky, Mastodon, GitHub, Lemmy +60 more
author.urlstring (http/https URL)238LinkedIn, Stack Exchange, Mastodon, Lemmy, SoundCloud +55 more
author.biostring40LinkedIn, YouTube, Instagram, Komi, Linkbio +18 more
author.verifiedboolean64Instagram, X (Twitter), Lichess, Roblox, TikTok +20 more
author.followersnumber (integer)101X (Twitter), Mastodon, Instagram, Deezer, TikTok +32 more
author.followingnumber (integer)42Mastodon, X (Twitter), Instagram, SoundCloud, Truthsocial +17 more
author.contentCountnumber (integer)34Dailymotion, Us Congress Trades, Bilibili, Instagram, Odysee +12 more
author.createdAtstring (ISO 8601)12Bitbucket, Codeberg, crates.io, Docker Hub, GitHub +7 more
author.locationstring23LinkedIn, Us Congress Trades, Stack Exchange, Codeberg, Amazon +4 more
author.countrystring7Tvmaze, Instagram, TikTok, YouTube
author.websitestring (http/https URL)6Codeberg, Facebook, GitHub, Google, Instagram +1 more
author.birthDatestring (ISO 8601)10Tvmaze, Jikan, Open Library, Tmdb
author.typestring7GitHub, Docker Hub
author.privateboolean1Bitbucket
author.reputationnumber26Stack Exchange

engagement#

9 fields.

FieldTypeEndpointsPlatforms
engagement.likesnumber (integer)335Stack Exchange, TikTok, Bluesky, Instagram, LinkedIn +49 more
engagement.commentsnumber (integer)285Stack Exchange, Mastodon, Instagram, Lemmy, GitHub +40 more
engagement.viewsnumber (integer)175TikTok, Instagram, Stack Exchange, Dailymotion, Discourse +32 more
engagement.sharesnumber (integer)115Instagram, TikTok, Bluesky, LinkedIn, Mastodon +17 more
engagement.bookmarksnumber (integer)27Bluesky, TikTok, Bilibili, X (Twitter), Huggingface +2 more
engagement.quotesnumber (integer)8Threads, X (Twitter)
engagement.votesnumber (integer)25Tmdb, Tripadvisor, Klarna, Omdb, Aliexpress +9 more
engagement.upvoteRationumber10Reddit
engagement.citationsnumber (integer)24Openalex, Semanticscholar, Europepmc, Crossref, Ads +1 more

media#

10 fields.

FieldTypeEndpointsPlatforms
media.urlstring (http/https URL)69Web, Nasa, Tvmaze, YouTube, Dogceo +29 more
media.thumbnailUrlstring (http/https URL)504TikTok, Itunes, YouTube, Instagram, Jikan +126 more
media.previewUrlstring (http/https URL)14Deezer, Itunes, Spotify, YouTube
media.embedUrlstring (http/https URL)1Spotify
media.audioUrlstring (http/https URL)5Instagram, Apple Music, Dictionary, TikTok
media.durationSecondsnumber82TikTok, Dailymotion, Deezer, Vimeo, Mixcloud +17 more
media.widthnumber (integer)5YouTube, Commons, Naver, Open Library
media.heightnumber (integer)5YouTube, Commons, Naver, Open Library
media.sizeBytesnumber (integer)4YouTube, Archive, Commons
media.mimeTypestring4YouTube, Commons

market#

19 fields.

FieldTypeEndpointsPlatforms
market.symbolstring47Us Congress Trades, Coingecko, Defillama, Binance, Coinbase +8 more
market.pricenumber28Coinbase, Polymarket, Coingecko, Binance, Finance +5 more
market.currencystring4Yahoo, Finance, Finnhub
market.opennumber8Polygon, Binance, Coinbase, Coingecko, Finance +2 more
market.highnumber7Polygon, Binance, Coinbase, Coingecko, Finance +1 more
market.lownumber7Polygon, Binance, Coinbase, Coingecko, Finance +1 more
market.closenumber6Polygon, Binance, Coinbase, Coingecko, Yahoo
market.volumenumber21Polymarket, Manifold, Finance, Kalshi, Polygon +4 more
market.volume24hnumber20Coingecko, Polymarket, Manifold, Coinbase, Kalshi +2 more
market.change24hnumber3Polymarket, Binance
market.change24hPctnumber5Coingecko, Binance
market.marketCapnumber8Coingecko, Alphavantage, Finance, Finnhub, Polygon
market.marketCapRanknumber (integer)4Coingecko
market.bidnumber9Binance, Polymarket, Coinbase, Finance
market.asknumber9Binance, Polymarket, Coinbase, Finance
market.exchangestring8Polygon, Yahoo, Alphavantage, Edgar, Finance +1 more
market.openInterestnumber7Polymarket, Kalshi, Finance
market.liquiditynumber10Polymarket, Manifold
market.probabilitynumber7Manifold, Metaculus

place#

6 fields.

FieldTypeEndpointsPlatforms
place.latnumber54Openmeteo, Usgs, Tripadvisor, Nominatim, Nws +22 more
place.lonnumber54Openmeteo, Usgs, Tripadvisor, Nominatim, Nws +22 more
place.addressstring27Tripadvisor, Foursquare, Google, Googleplaces, Hm +10 more
place.citystring18Tripadvisor, Ror, Yelp, Facebook, G2 +8 more
place.timeZonestring11Nws, Openmeteo, Geoip
place.elevationMnumber8Openmeteo, Nws, Metno

listing#

14 fields.

FieldTypeEndpointsPlatforms
listing.pricenumber70Klarna, Apple, Aliexpress, Gumtree, Sephora +22 more
listing.originalPricenumber8Steam, Bestbuy, Cheapshark
listing.discountPercentnumber5Steam
listing.currencystring57Klarna, Steam, Apple, Aliexpress, Sephora +15 more
listing.brandstring36Klarna, Sephora, Aliexpress, Amazon, Bestbuy +13 more
listing.sellerstring14Tiktokshop, eBay, Facebook, Amazon, Google +4 more
listing.conditionstring6eBay, Amazon, Google Shopping, Klarna, Walmart
listing.availableboolean11Shopify, Wayback, Amazon, Google Shopping, Klarna +2 more
listing.skustring3Shopify
listing.barcodestring3Musicbrainz
listing.companystring31Jobs, LinkedIn, Rdap, Themuse, Greenhouse +9 more
listing.jobTypestring12Jobs, Himalayas, Lever, Remotive, Smartrecruiters +1 more
listing.remoteboolean5Smartrecruiters, Arbeitnow, Ashby, Jobs
listing.applyUrlstring (http/https URL)9Jobs, Lever, Ashby, Smartrecruiters

listing.salary#

4 fields.

FieldTypeEndpointsPlatforms
listing.salary.minnumber7Himalayas, Jobicy, Jobs, Remoteok
listing.salary.maxnumber7Himalayas, Jobicy, Jobs, Remoteok
listing.salary.currencystring6Himalayas, Jobicy, Jobs
listing.salary.periodstring6Himalayas, Jobicy, Jobs

package#

12 fields.

FieldTypeEndpointsPlatforms
package.versionstring94crates.io, Amo, Rubygems, npm, Apple +33 more
package.licensestring28GitHub, Ckan, Flathub, Cdnjs, crates.io +9 more
package.homepageUrlstring (http/https URL)30GitHub, crates.io, Rubygems, Aur, Cdnjs +9 more
package.repositoryUrlstring (http/https URL)21crates.io, Rubygems, Terraform, Goproxy, Huggingface +4 more
package.documentationUrlstring (http/https URL)10crates.io, Rubygems, Hex
package.defaultBranchstring15GitHub, Codeberg, GitLab, Bitbucket
package.namespacestring7Terraform, Docker Hub, Openvsx
package.archivedboolean9GitHub, Codeberg
package.deprecatedboolean6Artifacthub, Homebrew, Depsdev, npm
package.yankedboolean4crates.io, Jsr, PyPI
package.dependencieslist of strings4Homebrew, npm, PyPI, Terraform
package.pushedAtstring (ISO 8601)6GitHub

paper#

7 fields.

FieldTypeEndpointsPlatforms
paper.doistring9Europepmc, Openalex, Zenodo, Core, Unpaywall
paper.journalstring7Europepmc, Crossref, Plos, Springernature
paper.venuestring2Semanticscholar
paper.publisherstring10Crossref, Open Library, Datacite, Unpaywall
paper.issnstring4Crossref, Openalex
paper.openAccessboolean2Openalex, Unpaywall
paper.openAccessUrlstring (http/https URL)2Openalex, Unpaywall

event#

2 fields.

FieldTypeEndpointsPlatforms
event.startDatestring (ISO 8601)21Kitsu, LinkedIn, Musicbrainz, Facebook, Polymarket +1 more
event.endDatestring (ISO 8601)11LinkedIn, Facebook, Polymarket, Twitch

ext: platform-specific fields#

Some data has no shared meaning across platforms (a weather station's ext.temperatureC, an anime's ext.englishName). Those fields live under ext.<name>: one flat level, camelCase, always documented on the endpoint page that returns them. Today 1,236 such names exist, most of them on a single endpoint. ext names are stable per endpoint but are not part of the cross-platform contract; code that must work across platforms should read the fields above only. A name used widely across platforms is promoted into the fixed schema, additively.

Most common ext fieldEndpointsPlatforms
ext.rating27Tiktokshop, Tripadvisor, Facebook +15 more
ext.posts26Discourse, Lemmy, Stack Exchange +2 more
ext.title23Lemmy, Chess, Lichess +4 more
ext.size21Blockstream, Bitbucket, Docker Hub +9 more
ext.symbol21Worldbank, Federalregister, Nager +8 more
ext.episodes18Jikan, Anilist, Kitsu +1 more
ext.level18Themuse, Dnd5e, Himalayas +7 more
ext.phone18Tripadvisor, Foursquare, Google +9 more
ext.works18Openalex, Crossref, Open Library
ext.englishName17Jikan, Anilist
ext.developer15Amo, Apple, Flathub +4 more
ext.value15Dns, Edgar, Bls +5 more
ext.album14Deezer, Itunes, Spotify +2 more
ext.season13Jikan, Tvmaze, Kitsu
ext.apUrl11Lemmy

Try it: Schema field explorer