Rank Texts
Score and sort up to 50 passages, documents or search results by how well they answer a query (BGE reranker). Drop-in quality boost for RAG and search pipelines.
POST https://aipaygen.com/v1/rank_texts
0.002 USDC on Base · payTo 0xebA22e8CD05Cb72A2F913099D6cCA666DD6D35B0
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"documents": [
"Refunds go back to the original card within 5 days.",
"Our office is in Austin.",
"Shipping is free over $50."
],
"query": "how do refunds work"
}{
"model": "@cf/baai/bge-reranker-base",
"query": "how do refunds work",
"results": [
{
"index": 0,
"score": 0.5602,
"text": "Refunds go back to the original card within 5 days."
},
{
"index": 1,
"score": 0,
"text": "Our office is in Austin."
}
]
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | 66 / 100 · breakdown |
|---|---|
| Probe uptime (30d) | 100.0% over 1 probes · daily |
| Avg 402 latency | 36 ms |
| Paid calls (30d, on-chain) | 64 calls · 1 buyers · shared price cohort of 20 |
| Facilitator-reported (30d) | 5 calls · 1 payers (CDP Bazaar) |
How to call
POST https://aipaygen.com/v1/rank_texts · input in body · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"description": "The question or search query."
},
"documents": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 4000
},
"description": "Passages to rank."
},
"top_k": {
"description": "Return only the best N. Default: all.",
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"required": [
"query",
"documents"
],
"additionalProperties": false
}curl -i -X POST 'https://aipaygen.com/v1/rank_texts' \
-H 'content-type: application/json' -d '{"query":"how do refunds work","documents":["Refunds go back to the original card within 5 days.","Our office is in Austin.","Shipping is free over $50."]}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs