curl
export DATAING_TOKEN="dtok_your-token-here"
curl https://api.dataing.io/user-api/me \
-H "X-Dataing-Profile-Token: $DATAING_TOKEN"Dataing context, with consent
Context should come with receipts. The contract is public, the token is read-only, and the user stays in the loop. Check the source at api.dataing.io/openapi.json.
This API opens a window into user-approved Dataing context—not a back door into the person. It includes profiles, traits, connection summaries, compatibilities, and visible threads.
Open the user API page in the Dataing app, create a dtok_ token, copy it once, and store it like a password.
Open token pageUse X-Dataing-Profile-Token: dtok_... or Authorization: Bearer dtok_... against api.dataing.io.
Open API docsStart with profile summary, bios, traits, data connections, discover profiles, match requests, compatibilities, and threads.
View OpenAPIEndpoint atlas
All examples use https://api.dataing.io. Most list endpoints support limit, offset, and cursor; threads use page, limit, and type.
The OpenAPI also lists /admin/user-api-usage for admin usage review. It is intentionally not part of this user-token quickstart.
/user-api/mePrivate API profile summary for the token owner.
/user-api/profile-picturesOrdered profile pictures.
/user-api/bios/latestLatest generated bio, or null if no bio exists yet.
/user-api/bios?limit=25&offset=0Paginated bio history. Cursor pagination is also supported.
/user-api/traits?limit=25&offset=0Generated traits with evidence metadata.
/user-api/data-connectionsConnected-provider summaries and status.
/user-api/discover?limit=25&offset=0Discover profiles visible to the token owner.
/user-api/compatibilities?limit=25&offset=0Compatibility records involving the token owner.
/user-api/match-requests?limit=25&offset=0Incoming match requests.
/user-api/threads?page=1&limit=20&type=ALLVisible chat threads.
/user-api/threads/{threadId}/messages?limit=20Messages and participants for one visible thread.
Copy, paste, understand
Keep dtok_ values out of browser bundles, repos, logs, analytics, and shared screenshots. Rotate or revoke them from the user API page.
export DATAING_TOKEN="dtok_your-token-here"
curl https://api.dataing.io/user-api/me \
-H "X-Dataing-Profile-Token: $DATAING_TOKEN"const token = process.env.DATAING_TOKEN
if (!token) {
throw new Error('Set DATAING_TOKEN first')
}
const response = await fetch('https://api.dataing.io/user-api/traits?limit=25', {
headers: {
'X-Dataing-Profile-Token': token,
},
})
if (!response.ok) {
throw new Error(`Dataing API ${response.status}`)
}
const payload = await response.json()
console.log(payload.data)curl https://api.dataing.io/user-api/bios/latest \
-H "Authorization: Bearer $DATAING_TOKEN"Codex prompts
A private profile token is a key to a room the user chose—not a master key. It should never act like a login, perform mutations, or expose raw provider credentials. Treat it as user-approved read access to selected Dataing context.