77trust / 100
- Price
- $0.005
- per call in USDC
- Uptime
- 95.5%
- last 30 days
- Response time
- 177 ms
- 222 ms slowest 5%
- Last check
- Passed
- 3 h ago, next any minute now
Reliability
All checks passedSome failedAll failedNot checked
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://win.oneshotagent.com/v1/tools/lookup/variant-frequency
Each call costs $0.005 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://win.oneshotagent.com/v1/tools/lookup/variant-frequency
content-type: application/json
{
"variant_id": "1-55051215-G-GA"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
rsid | string | No | dbSNP identifier, for example rs527413419; supply only rsid or variant_id |
variant_id | string | No | gnomAD variant ID on GRCh38, for example 1-55051215-G-GA; supply only variant_id or rsid |
Example response
The provider's example. We can't check it without paying.
Example response, 166 lines
{
"alt": "GA",
"chrom": "1",
"exome": {
"allele_count": 192,
"allele_frequency": 0.0006317119393556538,
"allele_number": 303936,
"filters": [],
"hemizygotes": 0,
"homozygotes": 2,
"populations": [
{
"allele_count": 16,
"allele_frequency": 0.001124543154343548,
"allele_number": 14228,
"group": "remaining",
"homozygotes": 0
},
{
"allele_count": 19,
"allele_frequency": 0.0006967363403006967,
"allele_number": 27270,
"group": "amr",
"homozygotes": 0
},
{
"allele_count": 0,
"allele_frequency": 0,
"allele_number": 12364,
"group": "fin",
"homozygotes": 0
},
{
"allele_count": 5,
"allele_frequency": 0.0017972681524083393,
"allele_number": 2782,
"group": "mid",
"homozygotes": 0
},
{
"allele_count": 7,
"allele_frequency": 0.00004404621076741084,
"allele_number": 158924,
"group": "nfe",
"homozygotes": 0
},
{
"allele_count": 2,
"allele_frequency": 0.000033476164970540974,
"allele_number": 59744,
"group": "sas",
"homozygotes": 0
},
{
"allele_count": 0,
"allele_frequency": 0,
"allele_number": 10788,
"group": "asj",
"homozygotes": 0
},
{
"allele_count": 0,
"allele_frequency": 0,
"allele_number": 9210,
"group": "eas",
"homozygotes": 0
},
{
"allele_count": 143,
"allele_frequency": 0.016577788082541154,
"allele_number": 8626,
"group": "afr",
"homozygotes": 2
}
]
},
"found": true,
"genome": {
"allele_count": 727,
"allele_frequency": 0.004772721304587589,
"allele_number": 152324,
"filters": [],
"hemizygotes": 0,
"homozygotes": 9,
"populations": [
{
"allele_count": 10,
"allele_frequency": 0.004730368968779565,
"allele_number": 2114,
"group": "remaining",
"homozygotes": 0
},
{
"allele_count": 27,
"allele_frequency": 0.0017651673640167365,
"allele_number": 15296,
"group": "amr",
"homozygotes": 0
},
{
"allele_count": 0,
"allele_frequency": 0,
"allele_number": 10630,
"group": "fin",
"homozygotes": 0
},
{
"allele_count": 0,
"allele_frequency": 0,
"allele_number": 912,
"group": "ami",
"homozygotes": 0
},
{
"allele_count": 0,
"allele_frequency": 0,
"allele_number": 5176,
"group": "eas",
"homozygotes": 0
},
{
"allele_count": 0,
"allele_frequency": 0,
"allele_number": 294,
"group": "mid",
"homozygotes": 0
},
{
"allele_count": 1,
"allele_frequency": 0.0002068680182043856,
"allele_number": 4834,
"group": "sas",
"homozygotes": 0
},
{
"allele_count": 0,
"allele_frequency": 0,
"allele_number": 3472,
"group": "asj",
"homozygotes": 0
},
{
"allele_count": 683,
"allele_frequency": 0.016430908391070052,
"allele_number": 41568,
"group": "afr",
"homozygotes": 9
},
{
"allele_count": 6,
"allele_frequency": 0.00008819897689186806,
"allele_number": 68028,
"group": "nfe",
"homozygotes": 0
}
]
},
"note": null,
"pos": 55051215,
"ref": "G",
"reference_genome": "GRCh38",
"rsids": [
"rs527413419"
],
"variant_id": "1-55051215-G-GA"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.005.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://win.oneshotagent.com/v1/tools/lookup/variant-frequency' \
-H 'content-type: application/json' \
--data-raw '{"variant_id":"1-55051215-G-GA"}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://win.oneshotagent.com/v1/tools/lookup/variant-frequency' \
-H 'content-type: application/json' \
--data-raw '{"variant_id":"1-55051215-G-GA"}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.005 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.005" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.005 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fwin.oneshotagent.com%2Fv1%2Ftools%2Flookup%2Fvariant-frequency&method=POST
const res = await pay("https://win.oneshotagent.com/v1/tools/lookup/variant-frequency", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"variant_id": "1-55051215-G-GA"
}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.005 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.005"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://win.oneshotagent.com/v1/tools/lookup/variant-frequency",
json={
"variant_id": "1-55051215-G-GA",
},
)
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 176 ms | $0.005 |
| 14 h ago | Passed | 402 | 169 ms | $0.005 |
| 24 h ago | Passed | 402 | 222 ms | $0.005 |
| 34 h ago | Passed | 402 | 295 ms | $0.005 |
| 45 h ago | Passed | 402 | 197 ms | $0.005 |
Show 10 older checks
| 2 days ago | Passed | 402 | 155 ms | $0.005 |
| 3 days ago | Passed | 402 | 155 ms | $0.005 |
| 3 days ago | Passed | 402 | 204 ms | $0.005 |
| 6 days ago | Timed out | - | - | - |
| 7 days ago | Passed | 402 | 171 ms | $0.005 |
| 7 days ago | Passed | 402 | 181 ms | $0.005 |
| 7 days ago | Passed | 402 | 147 ms | $0.005 |
| 8 days ago | Passed | 402 | 150 ms | $0.005 |
| 8 days ago | Passed | 402 | 173 ms | $0.005 |
| 9 days ago | Passed | 402 | 195 ms | $0.005 |