curl -sS -X POST 'https://api.0xinsider.com/api/v1/agents/register'import requests
url = "https://api.0xinsider.com/api/v1/agents/register"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.0xinsider.com/api/v1/agents/register', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.0xinsider.com/api/v1/agents/register",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.0xinsider.com/api/v1/agents/register"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.0xinsider.com/api/v1/agents/register")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.0xinsider.com/api/v1/agents/register")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"object": "agent_registration",
"data": {
"api_key": "oxi_sk_test_7c1e9a4b2d6f0835e1a7c9b4d2f60e83a5c17b9d4e2f6a0c8b3d5e715853be48",
"livemode": false,
"environment": "sandbox",
"created_at": "2026-09-14T12:00:00Z",
"sandbox": {
"api_base_url": "https://0xinsider.com/sandbox/api/v1",
"first_request_url": "https://0xinsider.com/sandbox/api/v1/leaderboard",
"openapi_url": "https://0xinsider.com/sandbox/api/v1/openapi.json"
},
"live_access": {
"api_base_url": "https://api.0xinsider.com/api/v1",
"requirement": "An 0xinsider account with an active Pro subscription. A person creates a live key (oxi_sk_live_) at api_keys_url, or approves an OAuth grant for a client registered at oauth_registration_endpoint.",
"api_keys_url": "https://0xinsider.com/developers",
"oauth_authorization_server_metadata_url": "https://api.0xinsider.com/.well-known/oauth-authorization-server",
"oauth_registration_endpoint": "https://api.0xinsider.com/oauth/register",
"pricing_url": "https://0xinsider.com/pricing",
"auth_guide_url": "https://0xinsider.com/auth.md"
}
},
"meta": {
"request_id": "req_example",
"cached": false,
"cost": 1
}
}{
"object": "error",
"error": {
"code": "bad_request",
"message": "<string>",
"doc_url": "<string>",
"param": "<string>",
"retry_at": "2023-11-07T05:31:56Z",
"reason": "cursor_expired"
},
"meta": {
"request_id": "<string>",
"cached": true,
"cost": 123,
"cache_age_s": 123,
"ranking_generation": 123,
"ranking_as_of": "2023-11-07T05:31:56Z",
"directional_source": "live",
"ranking_source": "live",
"category_skill_source": "live",
"category_skill_model_version": "<string>",
"category_skill_taxonomy_version": "<string>",
"category_skill_platform": "polymarket",
"category_skill_scope": "observed_goldsky_primary_taker_fill",
"category_skill_source_coverage": "partial_whale_threshold_fills",
"category_skill_observation_started_at": "2023-11-07T05:31:56Z",
"category_skill_model_operationally_degraded": true,
"category_skill_status_counts": {
"live": 1,
"insufficient": 1,
"stale": 1,
"unknown": 1,
"degraded": 1
},
"category_skill_base_payload_hash": "<string>",
"category_skill_enriched_base_payload_hash": "<string>"
}
}{
"object": "error",
"error": {
"code": "bad_request",
"message": "<string>",
"doc_url": "<string>",
"param": "<string>",
"retry_at": "2023-11-07T05:31:56Z",
"reason": "cursor_expired"
},
"meta": {
"request_id": "<string>",
"cached": true,
"cost": 123,
"cache_age_s": 123,
"ranking_generation": 123,
"ranking_as_of": "2023-11-07T05:31:56Z",
"directional_source": "live",
"ranking_source": "live",
"category_skill_source": "live",
"category_skill_model_version": "<string>",
"category_skill_taxonomy_version": "<string>",
"category_skill_platform": "polymarket",
"category_skill_scope": "observed_goldsky_primary_taker_fill",
"category_skill_source_coverage": "partial_whale_threshold_fills",
"category_skill_observation_started_at": "2023-11-07T05:31:56Z",
"category_skill_model_operationally_degraded": true,
"category_skill_status_counts": {
"live": 1,
"insufficient": 1,
"stale": 1,
"unknown": 1,
"degraded": 1
},
"category_skill_base_payload_hash": "<string>",
"category_skill_enriched_base_payload_hash": "<string>"
}
}Register an agent for a sandbox key
Self-serve agent onboarding: no account, no request body, no human step. Returns a sandbox API key (oxi_sk_test_…) and the path to live access. The key works only on the sandbox server (https://0xinsider.com/sandbox/api/v1), where it is optional: send it as Authorization: Bearer to exercise the credential path, and the sandbox answers a malformed key with the production 401. Nothing is stored, so the key cannot be listed or revoked and does not expire; register again for a new one. The live API answers a sandbox key with 401 invalid_api_key and error.reason sandbox_api_key. Live data needs an account with an active Pro subscription, and either an oxi_sk_live_ key from https://0xinsider.com/developers or an OAuth access token (https://0xinsider.com/auth.md). The request body is not read.
curl -sS -X POST 'https://api.0xinsider.com/api/v1/agents/register'import requests
url = "https://api.0xinsider.com/api/v1/agents/register"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.0xinsider.com/api/v1/agents/register', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.0xinsider.com/api/v1/agents/register",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.0xinsider.com/api/v1/agents/register"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.0xinsider.com/api/v1/agents/register")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.0xinsider.com/api/v1/agents/register")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"object": "agent_registration",
"data": {
"api_key": "oxi_sk_test_7c1e9a4b2d6f0835e1a7c9b4d2f60e83a5c17b9d4e2f6a0c8b3d5e715853be48",
"livemode": false,
"environment": "sandbox",
"created_at": "2026-09-14T12:00:00Z",
"sandbox": {
"api_base_url": "https://0xinsider.com/sandbox/api/v1",
"first_request_url": "https://0xinsider.com/sandbox/api/v1/leaderboard",
"openapi_url": "https://0xinsider.com/sandbox/api/v1/openapi.json"
},
"live_access": {
"api_base_url": "https://api.0xinsider.com/api/v1",
"requirement": "An 0xinsider account with an active Pro subscription. A person creates a live key (oxi_sk_live_) at api_keys_url, or approves an OAuth grant for a client registered at oauth_registration_endpoint.",
"api_keys_url": "https://0xinsider.com/developers",
"oauth_authorization_server_metadata_url": "https://api.0xinsider.com/.well-known/oauth-authorization-server",
"oauth_registration_endpoint": "https://api.0xinsider.com/oauth/register",
"pricing_url": "https://0xinsider.com/pricing",
"auth_guide_url": "https://0xinsider.com/auth.md"
}
},
"meta": {
"request_id": "req_example",
"cached": false,
"cost": 1
}
}{
"object": "error",
"error": {
"code": "bad_request",
"message": "<string>",
"doc_url": "<string>",
"param": "<string>",
"retry_at": "2023-11-07T05:31:56Z",
"reason": "cursor_expired"
},
"meta": {
"request_id": "<string>",
"cached": true,
"cost": 123,
"cache_age_s": 123,
"ranking_generation": 123,
"ranking_as_of": "2023-11-07T05:31:56Z",
"directional_source": "live",
"ranking_source": "live",
"category_skill_source": "live",
"category_skill_model_version": "<string>",
"category_skill_taxonomy_version": "<string>",
"category_skill_platform": "polymarket",
"category_skill_scope": "observed_goldsky_primary_taker_fill",
"category_skill_source_coverage": "partial_whale_threshold_fills",
"category_skill_observation_started_at": "2023-11-07T05:31:56Z",
"category_skill_model_operationally_degraded": true,
"category_skill_status_counts": {
"live": 1,
"insufficient": 1,
"stale": 1,
"unknown": 1,
"degraded": 1
},
"category_skill_base_payload_hash": "<string>",
"category_skill_enriched_base_payload_hash": "<string>"
}
}{
"object": "error",
"error": {
"code": "bad_request",
"message": "<string>",
"doc_url": "<string>",
"param": "<string>",
"retry_at": "2023-11-07T05:31:56Z",
"reason": "cursor_expired"
},
"meta": {
"request_id": "<string>",
"cached": true,
"cost": 123,
"cache_age_s": 123,
"ranking_generation": 123,
"ranking_as_of": "2023-11-07T05:31:56Z",
"directional_source": "live",
"ranking_source": "live",
"category_skill_source": "live",
"category_skill_model_version": "<string>",
"category_skill_taxonomy_version": "<string>",
"category_skill_platform": "polymarket",
"category_skill_scope": "observed_goldsky_primary_taker_fill",
"category_skill_source_coverage": "partial_whale_threshold_fills",
"category_skill_observation_started_at": "2023-11-07T05:31:56Z",
"category_skill_model_operationally_degraded": true,
"category_skill_status_counts": {
"live": 1,
"insufficient": 1,
"stale": 1,
"unknown": 1,
"degraded": 1
},
"category_skill_base_payload_hash": "<string>",
"category_skill_enriched_base_payload_hash": "<string>"
}
}What you get
- A
201with a newoxi_sk_test_...key on every call. Nothing is stored, so the key cannot be listed or revoked and does not expire. Register again for a new one. - The key works only on the sandbox server,
https://0xinsider.com/sandbox/api/v1, where it is optional. Send it asAuthorization: Bearerto exercise the credential path; a malformed key is answered with the production401. - The live API answers a sandbox key with
401 invalid_api_keyanderror.reasonset tosandbox_api_key.
Going live
Live data needs an account with an active Pro subscription and either anoxi_sk_live_ key from the developers page or an OAuth access token (auth.md).Response
A new sandbox key. Every call returns a different key, with Cache-Control: private, no-store.
Was this page helpful?