Trenches Scan Invoke
by SolEnrich in Onchain & crypto
One call composes runner-scan (on-chain velocity), smart-money-trenches (proven-winner wallet buys), and attention-momentum (agent query stream) into a ranked memecoin list. Per token: composite score (runner 0.45 / smart-money 0.45 / attention 0.10), confluence count, reasoning, and a HIGH_CONFLUENCE / MODERATE / SINGLE_SIGNAL verdict. Legs degrade independently — an upstream failure annotates the result instead of failing the call. NFA.
https://api.solenrich.com/entrypoints/trenches-scan/invoke- Price
- $0.08
- per call in USDC
- Uptime
- 99.0%
- last 30 days
- Response time
- 376 ms
- 543 ms slowest 5%
- Last check
- Passed
- 10 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/trenches-scan/invoke
Each call costs $0.08 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/trenches-scan/invoke
content-type: application/json
{
"format": "json",
"limit": 10,
"max_token_age_hours": 24,
"min_liquidity_usd": 5000
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
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 | Max picks returned Default: 10. |
max_token_age_hours | number | No | Max token age in hours Default: 24. |
min_liquidity_usd | number | No | Liquidity floor in USD (unknown liquidity passes) Default: 5000. |
Example response
The provider's example. We can't check it without paying.
Example response, 53 lines
{
"output": {
"caveats": [
"Composite ranking, not a buy list. Fresh memecoin outcomes are binary — most ...",
"Runner stage PARABOLIC_LATE or FADING on a pick means the move may already be...",
"Attention leg is derived from SolEnrich's own agent query stream; it is spars..."
],
"confluence_counts": {
"double": 1,
"single": 17,
"triple": 0
},
"filters": {
"limit": 10,
"max_token_age_hours": 24,
"min_liquidity_usd": 5000
},
"last_updated": "2026-09-22T00:09:19.787Z",
"legs": {
"attention": {
"error": null,
"ok": true,
"sample_quality": "ok",
"total_queries": 98
},
"runner": {
"candidates_scanned": 43,
"error": null,
"ok": true,
"passed_filters": 15
},
"smart_money": {
"error": null,
"ok": true,
"seeds_scanned": 104,
"total_recent_buys": 57
}
},
"picks": [
{
"age_hours": 0.7,
"composite_score": 0.34,
"confluence": 2,
"mint": "7AUzu756Pp3Cg3NByuKfcRSAFFt31kjC6U6R1npkiA1Q",
"name": "Free Major",
"symbol": "MAJOR",
"verdict": "MODERATE"
}
]
},
"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.08.
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/trenches-scan/invoke' \
-H 'content-type: application/json' \
--data-raw '{"format":"json","limit":10,"max_token_age_hours":24,"min_liquidity_usd":5000}'
# 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/trenches-scan/invoke' \
-H 'content-type: application/json' \
--data-raw '{"format":"json","limit":10,"max_token_age_hours":24,"min_liquidity_usd":5000}' \
| 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.08 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.08" });
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.08 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.solenrich.com%2Fentrypoints%2Ftrenches-scan%2Finvoke&method=POST
const res = await pay("https://api.solenrich.com/entrypoints/trenches-scan/invoke", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"format": "json",
"limit": 10,
"max_token_age_hours": 24,
"min_liquidity_usd": 5000
}),
});
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.08 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.08"})
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/trenches-scan/invoke",
json={
"format": "json",
"limit": 10,
"max_token_age_hours": 24,
"min_liquidity_usd": 5000,
},
)
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 |
|---|---|---|---|---|
| 10 h ago | Passed | 402 | 394 ms | $0.08 |
| 20 h ago | Passed | 402 | 340 ms | $0.08 |
| 31 h ago | Passed | 402 | 376 ms | $0.08 |
| 43 h ago | Passed | 402 | 376 ms | $0.08 |
| 3 days ago | Timed out | - | - | - |
Show 10 older checks
| 5 days ago | Passed | 402 | 613 ms | $0.08 |
| 6 days ago | Passed | 402 | 458 ms | $0.08 |
| 6 days ago | Passed | 402 | 364 ms | $0.08 |
| 6 days ago | Passed | 402 | 360 ms | $0.08 |
| 7 days ago | Passed | 402 | 347 ms | $0.08 |
| 7 days ago | Passed | 402 | 395 ms | $0.08 |
| 7 days ago | Passed | 402 | 354 ms | $0.08 |
| 8 days ago | Passed | 402 | 336 ms | $0.08 |
| 8 days ago | Passed | 402 | 340 ms | $0.08 |
| 8 days ago | Passed | 402 | 370 ms | $0.08 |