curl --request GET \
--url https://x402.ottoai.services/token-scoreimport requests
url = "https://x402.ottoai.services/token-score"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://x402.ottoai.services/token-score', 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://x402.ottoai.services/token-score",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://x402.ottoai.services/token-score"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://x402.ottoai.services/token-score")
.asString();require 'uri'
require 'net/http'
url = URI("https://x402.ottoai.services/token-score")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {}
}/token-score
Token score by contract address — one 0-100 composite of a Base token market structure from seven weighted factors: USD liquidity, holder concentration, holder count, 24h volume, market age, pool breadth and price stability. Every sub-score, weight, raw input, source plane and read time comes back with the number, plus the full breakpoint curve, so the score can be recomputed from the response. Market structure, not a contract-security screen. $0.010 per call.
curl --request GET \
--url https://x402.ottoai.services/token-scoreimport requests
url = "https://x402.ottoai.services/token-score"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://x402.ottoai.services/token-score', 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://x402.ottoai.services/token-score",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://x402.ottoai.services/token-score"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://x402.ottoai.services/token-score")
.asString();require 'uri'
require 'net/http'
url = URI("https://x402.ottoai.services/token-score")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {}
}402 and lists the price, network and token in accepts. To pay, follow Your first paid call.Query Parameters
Base (chain 8453) ERC-20 contract address, 0x followed by 40 hex characters. Address-keyed on purpose: a ticker symbol could resolve to a different chain deployment on one data plane than on another, and the composite would then fuse two tokens. Use /token-price for symbol lookups.
Was this page helpful?
