xpay tools logo
  • Providers
  • Collections
  • Explore
  • Docs
  • xpay.sh
  1. Home
  2. ›
  3. Jina AI
  4. ›
  5. Sort By Relevance

Jina AI
Jina AI logo
Jina AI
Tool

Sort By Relevance

sort_by_relevance

Rerank a list of documents by relevance to a query using Jina Reranker API. Use this when you have multiple documents and want to sort them by how well they match a specific query or topic. Perfect for document retrieval, content filtering, or finding the most relevant information from a collection.


Pricing

Per call

$0.01

Model

flat


Pay only for what you use. No subscriptions.
Inputs

documents *

array

top_n

number

query *

string
Try It
API
MCP Config
Input Parameters
documents *
Array of document texts to rerank by relevance
top_n
Maximum number of top results to return
query *
The query or topic to rank documents against (e.g., 'machine learning algorithms', 'climate change solutions')
Cost per run
Execution cost
$0.01
Deducted from your xPay allowance
xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

Product
ExploreCollectionsBundles
Resources
Documentationxpay.shGitHub

© 2026 Agentically Inc. All rights reserved.Microtransactions happen via Stablecoins