xpay tools logo
  • Tools
  • Collections
  • Skills
  • Docs
  • xpay.sh
Skill
Valyu API logo

Valyu Answer

valyu_answer

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

$0.02/call
Flat rate
Valyu API
Raw SKILL.mdRun This Tool

When to Use

Use this tool when you need to reference for the valyu answer endpoint that blends search results into ai-generated answers via post /v1/answer.. This is part of the Valyu API provider on xpay✦.

MCP Connection

Connect to xpay✦ to access this tool (and 12+ others):

{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}

For Claude Code:

claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"

How to Execute

Use the xpay✦ meta-tools to run this tool:

  1. xpay_details — Get full input schema: xpay_details("valyu/valyu_answer")
  2. xpay_run — Execute: xpay_run("valyu/valyu_answer", { ...inputs })

Input Parameters

ParameterTypeRequiredDescription
end_datestringNoEnd date filter (YYYY-MM-DD)
country_codestringNo2-letter ISO country code to bias search results to a specific country
streamingbooleanNoEnable Server-Sent Events (SSE) streaming. When true, returns a stream of chunks: search_results first, then content deltas, then metadata, then [DONE].
fast_modebooleanNoEnable fast mode for reduced latency but shorter results. Best for general purpose queries.
data_max_pricenumberNoMaximum price in dollars for data retrieval (search costs only, does not affect AI costs)
querystringYesThe search query
included_sourcesarrayNoList 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_sourcesarrayNoList 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_outputobjectNoJSON schema for structured output. When provided, enables JSON mode and returns structured data
system_instructionsstringNoCustom instructions for AI processing
search_typestringNoType of search to perform
start_datestringNoStart date filter (YYYY-MM-DD)

Pricing

  • Cost: $0.02/call
  • Balance check: Use xpay_balance to check remaining credits
  • Get your API key at xpay.tools — $5 free credits included

Related Skills

  • Valyu API (all tools) — 13 tools
  • Valyu Search — $0.02/call
  • Valyu Create Batch — $0.02/call
  • Valyu Get Status — $0.02/call
  • Valyu Update Task — $0.02/call
  • Valyu Cancel Task — $0.02/call

Links

  • Tool page: https://xpay.tools/valyu/valyu-answer/
  • Provider: https://xpay.tools/valyu/
  • All tools: https://xpay.tools/explore
How to Execute
// 1. Get full schema
xpay_details("valyu/valyu_answer")
// 2. Execute
xpay_run("valyu/valyu_answer", { ...inputs })
Input Parameters
ParameterTypeRequiredDescription

end_date

stringNo

End date filter (YYYY-MM-DD)

country_code

stringNo

2-letter ISO country code to bias search results to a specific country

streaming

booleanNo

Enable Server-Sent Events (SSE) streaming. When true, returns a stream of chunks: search_results first, then content deltas, then metadata, then [DONE].

fast_mode

booleanNo

Enable fast mode for reduced latency but shorter results. Best for general purpose queries.

data_max_price

numberNo

Maximum price in dollars for data retrieval (search costs only, does not affect AI costs)

query

string
Yes

The search query

included_sources

arrayNo

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

arrayNo

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

objectNo

JSON schema for structured output. When provided, enables JSON mode and returns structured data

system_instructions

stringNo

Custom instructions for AI processing

search_type

stringNo

Type of search to perform

start_date

stringNo

Start date filter (YYYY-MM-DD)

Other Valyu API Skills
Valyu Search — $0.02Valyu Create Batch — $0.02Valyu Get Status — $0.02Valyu Update Task — $0.02Valyu Cancel Task — $0.02Valyu Delete Task — $0.02Valyu Get Batch Status — $0.02Valyu List Batch Tasks — $0.02
Install Skill
Claude Code
claude /install-skill https://xpay.tools/skills/valyu/valyu-answer/SKILL.md
CLI
npx @xpaysh/cli install valyu/valyu-answer
Manual
curl -o SKILL.md https://xpay.tools/skills/valyu/valyu-answer/SKILL.md
Pricing

Cost

$0.02/call

Model

Flat rate

Provider

Valyu API

xpay tools logo

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

or ask your AI app
Popular Tools
FirecrawlTavilyExaHunterPerplexityRecraftIdeogramFlux
Collections
AI Image & MediaContent & ResearchDev ToolsFinanceLead GenWeb ScrapingCompetitive Intel
Developers
DocumentationAPI ReferenceQuickstartSDKsSkillsskill.mdllms.txt
Resources
The Agentic EconomyAgentic CommerceAgent Frameworksx402 ProtocolBlog
Company
About xpayxpay.shGitHubDiscordTwitter / X

© 2026 Agentically Inc. All rights reserved.
Privacy PolicyTerms of Service
✦
xpay Assistant
Valyu by Skills

Ask me about tools, pricing, or how to connect

How does this tool work?
What parameters does it accept?
Show me a usage example
DocsCollectionsExplore