Stonk Gems Invoke
by SolEnrich in Onchain & crypto
Ranks every StonkFun reward coin 0-100 on whether it is alive, paying, and liquid: recent holder payout, holders, size, turnover, age, momentum, quote strength. Stages GEM / WATCH / NOISE / DEAD with reasons and round-trip tax. A shortlist, not a price forecast: in a paper test (9/26-10/3) higher scores did not beat the market. Pair with stonk-creator and stonk-quote. Milliseconds.
https://api.solenrich.com/entrypoints/stonk-gems/invoke- Price
- $0.03
- per call in USDC
- Uptime
- 96.7%
- last 30 days
- Response time
- 421 ms
- 679 ms slowest 5%
- Last check
- Passed
- 4 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://api.solenrich.com/entrypoints/stonk-gems/invoke
Each call costs $0.03 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://api.solenrich.com/entrypoints/stonk-gems/invoke
content-type: application/json
{
"category": "xstock",
"format": "json",
"limit": 15,
"max_age_days": 14,
"min_holders": 50
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
category | string | No | StonkFun quote category: xstock, prestock, currency, leverage, solana, collectible, or custom. One of: xstock, prestock, currency, leverage, solana, collectible, custom. |
format | string | No | Response format: json (structured fields, default), llm (short deterministic briefing), or both (fields plus llm_summary). One of: json, llm, both. Default: "json". |
limit | integer | No | Maximum number of results to return. Default: 15. |
max_age_days | number | No | Maximum coin age in days. Default: 14. |
max_market_cap_usd | number | No | Maximum market cap in USD. Default: 5000000. |
min_holders | integer | No | Minimum number of reward-receiving holders. Default: 25. |
quote_mint | string | No | Only coins paired against this StonkFun quote asset (mint, base58). stonk-pairs lists the quote assets. |
Example response
The provider's example. We can't check it without paying.
Example response, 43 lines
{
"output": {
"caveats": [
"A ranking of what looks early and real on the tape, not a safety verdict and ...",
"round_trip_pct is the transfer tax on a buy plus a sell (2 × bps), before sli..."
],
"filters": {
"category": null,
"limit": 15,
"max_age_days": 14,
"max_market_cap_usd": 5000000,
"min_holders": 25,
"quote_mint": null
},
"gems": [
{
"mint": "3xPfXX2RrEAD3dWx7YYYTuQ2AXS4S1xBu4GVHxiFoAwQ",
"name": "Wandering Shiba",
"quote_category": "custom",
"quote_mint": "HTmQz7My6MehV7bjhJ6jde8nDND1yvsz68d24LP7YgUQ",
"quote_symbol": "GP",
"rank": 1,
"symbol": "Shiba"
}
],
"index": {
"last_refresh_at": "2026-09-22T00:42:35.459Z",
"oldest_point_at": "2026-09-06T12:00:00.000Z",
"rows": 18199,
"series_days": 15
},
"passed_filters": 1274,
"scanned": 18199,
"stage_counts": {
"DEAD": 0,
"GEM": 99,
"NOISE": 625,
"WATCH": 550
}
},
"run_id": "uuid",
"status": "succeeded"
}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.03.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://api.solenrich.com/entrypoints/stonk-gems/invoke' \
-H 'content-type: application/json' \
--data-raw '{"category":"xstock","format":"json","limit":15,"max_age_days":14,"min_holders":50}'
# 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://api.solenrich.com/entrypoints/stonk-gems/invoke' \
-H 'content-type: application/json' \
--data-raw '{"category":"xstock","format":"json","limit":15,"max_age_days":14,"min_holders":50}' \
| 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.03 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.03" });
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.03 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.solenrich.com%2Fentrypoints%2Fstonk-gems%2Finvoke&method=POST
const res = await pay("https://api.solenrich.com/entrypoints/stonk-gems/invoke", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"category": "xstock",
"format": "json",
"limit": 15,
"max_age_days": 14,
"min_holders": 50
}),
});
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.03 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.03"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://api.solenrich.com/entrypoints/stonk-gems/invoke",
json={
"category": "xstock",
"format": "json",
"limit": 15,
"max_age_days": 14,
"min_holders": 50,
},
)
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 |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 458 ms | $0.03 |
| 9 h ago | Passed | 402 | 421 ms | $0.03 |
| 13 h ago | Passed | 402 | 339 ms | $0.03 |
| 17 h ago | Passed | 402 | 358 ms | $0.03 |
| 21 h ago | Passed | 402 | 504 ms | $0.03 |
Show 10 older checks
| 26 h ago | Passed | 402 | 349 ms | $0.03 |
| 30 h ago | Passed | 402 | 339 ms | $0.03 |
| 34 h ago | Passed | 402 | 332 ms | $0.03 |
| 39 h ago | Passed | 402 | 351 ms | $0.03 |
| 43 h ago | Passed | 402 | 341 ms | $0.03 |
| 47 h ago | Passed | 402 | 370 ms | $0.03 |
| 2 days ago | Passed | 402 | 343 ms | $0.03 |
| 2 days ago | Passed | 402 | 341 ms | $0.03 |
| 2 days ago | Passed | 402 | 487 ms | $0.03 |
| 3 days ago | Passed | 402 | 399 ms | $0.03 |