xpay hub logo
hub
  • Tools
  • Explore
  • Docs
  • xpay.sh
Valyu API
Valyu API
Tool

valyu_answer

Reference for the Valyu Answer endpoint that blends search results into AI-generated answers via POST /v1/answer.


Pricing

Per call

$0.02

Model

flat


Pay only for what you use. No subscriptions.
Inputs

end_date

string

country_code

string

streaming

boolean

fast_mode

boolean

data_max_price

number

query *

string

included_sources

array

excluded_sources

array

structured_output

object

system_instructions

string

search_type

string

start_date

string
Try It
API
MCP Config
Input Parameters
end_date
End date filter (YYYY-MM-DD)
country_code
2-letter ISO country code to bias search results to a specific country
data_max_price
Maximum price in dollars for data retrieval (search costs only, does not affect AI costs)
query *
The search query
included_sources
List of specific sources to search (URLs, domains or dataset names). When a URL or domain path is provided (e.g., 'https://valyu.ai/blog' or 'valyu.ai/blog'), only that specific path will be searched. For entire domains, use either the domain name (e.g., 'valyu.ai') or the base URL (e.g., 'https://valyu.ai').
excluded_sources
List of specific sources to exclude from search (URLs, domains, or dataset names). When a URL or domain path is provided (e.g., 'https://valyu.ai/blog' or 'valyu.ai/blog'), only that specific path will be excluded. For entire domains, use either the domain name (e.g., 'valyu.ai') or the base URL (e.g., 'https://valyu.ai').
structured_output
JSON schema for structured output. When provided, enables JSON mode and returns structured data
system_instructions
Custom instructions for AI processing
search_type
Type of search to perform
start_date
Start date filter (YYYY-MM-DD)
Cost per run
Execution cost
$0.02
Deducted from your xPay allowance
xpay hub logo
hub

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