> ## Documentation Index
> Fetch the complete documentation index at: https://docs.valyu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Wiley Finance API

> Search licensed Wiley finance journals and book chapters at full text through the Valyu API and get the passages that answer a question, with citations.

Peer-reviewed finance research and full textbook chapters, retrievable a passage at a time. Ask in plain English and get back the sections that answer the question, with citations attached.

Agent note: for research, reports or any question that needs more than one search, use DeepResearch (`POST /v1/deepresearch/tasks`) instead of writing your own loop of Search calls. Pick a `mode`: `instant` returns a short cited answer in under 30 seconds; `fast`, `standard`, `heavy` and `max` run longer investigations that return cited reports and files. Use Search when your own model needs raw results to reason over. Docs index: [/llms.txt](https://docs.valyu.ai/llms.txt). Append `.md` to any page URL for Markdown. Docs MCP server: `https://docs.valyu.ai/mcp`. Integration guide for coding agents: [/AGENTS.md](https://docs.valyu.ai/AGENTS.md).

## How it works

Valyu provides a single **Search API** that lets you search across Wiley's finance content using natural language queries. You send a query, and the API returns relevant passages from Wiley finance papers and books. These results can then be fed directly into an AI model as context for generating answers, analysis, or reports.

```
Your query --> Valyu Search API --> Wiley finance results --> Feed into AI model
```

Call [Search](https://docs.valyu.ai/api-reference/endpoint/search.md) at `POST /v1/search` with the source IDs below.

You can test this in four ways:

1. **No code** - Use the [Search API Playground](https://platform.valyu.ai/playground/search) in your browser
2. **Python** - Use the [Python SDK](https://docs.valyu.ai/sdk/python-sdk/search.md) (`pip install valyu`)
3. **JavaScript** - Use the [TypeScript SDK](https://docs.valyu.ai/sdk/typescript-sdk/search.md) (`pnpm add valyu-js`)
4. **Any language** - Call the REST API directly with cURL or any HTTP client

## Available datasets

Check your organization's access in the [platform](https://platform.valyu.ai/datasets). Coverage is specific to these collections, not every publication by Wiley.

There are **two** Wiley finance datasets available through Valyu:

| Dataset | Source ID | Size | Content | Updates |
| - | - | - | - | - |
| **Wiley Finance Papers** | `wiley/wiley-finance-papers` | 33,000+ articles | Peer-reviewed journal articles from The Journal of Finance, Financial Management, Journal of Financial Research, Journal of Portfolio Management, The Financial Review, and more | Quarterly |
| **Wiley Finance Books** | `wiley/wiley-finance-books` | 4,500+ chapters | Book chapters from finance and investment reference titles | Quarterly |

You can search one or both datasets in a single query. To search both, include both source IDs.

## What you get

Each search result contains:

| Field | Description |
| - | - |
| `title` | Title of the paper or book chapter |
| `content` | Relevant passages from full-text articles or chapters; length depends on the response settings |
| `url` | URL to the original document (DOI for papers, ISBN for books) |
| `source` | Which dataset the result came from (`wiley/wiley-finance-papers` or `wiley/wiley-finance-books`) |
| `authors` | List of author names |
| `citation` | Generated academic citation |
| `figures` | Extracted figures with captions |
| `image_url` | Map of image filenames to URLs for accessing document images |
| `references` | Reference sections from academic papers |
| `publication_date` | Publication date of the document |
| `citation_count` | Number of times the document has been cited |

## How to test in the playground (no code required)

The fastest way to test Wiley finance content is through the **Search API Playground**. No code or SDK installation is needed.

**1. Open the Search API Playground**

Go to [platform.valyu.ai/playground/search](https://platform.valyu.ai/playground/search).

You can also open the playground with Wiley datasets pre-selected using this direct link:

```
https://platform.valyu.ai/playground/search?sources=wiley%2Fwiley-finance-books%2Cwiley%2Fwiley-finance-papers
```

If you use the direct link above, the Wiley datasets will already be selected and you can skip to Step 4.

**2. Open Advanced Settings**

On the left side of the playground, click **Advanced Settings** to expand the settings panel. This is where you select which datasets to search.

![Click Advanced Settings to expand the settings panel](https://mintcdn.com/valyu/eEWo5CRCUtgnF3iV/images/wiley-playground-advanced-settings.png?fit=max\&auto=format\&n=eEWo5CRCUtgnF3iV\&q=85\&s=6295de177224b7ac3c1e7606b9f68ca1)

**3. Select the Wiley datasets**

Click **Included Datasets** at the top of the panel. In the dataset selector, find and select:

* **Wiley Papers** (Finance Journals)
* **Wiley Books** (Finance Books)

Make sure only these two datasets are selected if you want to test Wiley content specifically. You can use the search box to search for "Wiley".

![Select Wiley Papers and Wiley Books datasets in the dataset selector](https://mintcdn.com/valyu/eEWo5CRCUtgnF3iV/images/wiley-playground-select-datasets.png?fit=max\&auto=format\&n=eEWo5CRCUtgnF3iV\&q=85\&s=08093d205b955b3e4f4cac2062805e47)

**4. Enter a query and click Run**

Type a natural language query in the search box at the top and click **Run**. For example:

```
Designing and implementing an activity-based costing (ABC) system in an SME manufacturer
```

The results appear on the right side. Each result shows:

* The **title** of the paper or book chapter
* A **relevance score**
* The **source** (e.g. `wiley/wiley-finance-papers`)
* A **content preview** of the matched text
* Options to **Copy Citation** and **View Source**

![Search results from Wiley finance papers showing matched content](https://mintcdn.com/valyu/eEWo5CRCUtgnF3iV/images/wiley-playground-results.png?fit=max\&auto=format\&n=eEWo5CRCUtgnF3iV\&q=85\&s=cf9e5eb3cbb512496b0c2fa9b4e21c17)

You can switch between **Results**, **JSON**, and **Table** views using the tabs above the results.

## How to use the API directly

Call `POST /v1/search` with the desired Wiley source IDs.

### Using cURL

```bash theme={null}
curl -X POST 'https://api.valyu.ai/v1/search' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{
    "query": "derivatives pricing Black-Scholes options valuation",
    "included_sources": ["wiley/wiley-finance-papers", "wiley/wiley-finance-books"],
    "max_num_results": 10
  }'
```

### Key parameters

| Parameter | Value | Description |
| - | - | - |
| `query` | Any natural language text | Your search query in plain English |
| `included_sources` | `["wiley/wiley-finance-papers"]` and/or `["wiley/wiley-finance-books"]` | Which Wiley datasets to search. Use one or both. |
| `max_num_results` | `1` to `20` | Number of results to return |

> [!NOTE]
>
> Use `included_sources` to scope the search to the Wiley datasets. Omit it and the search returns results from every dataset you have access to, not just Wiley.

## How to use the Python SDK

With your [SDK installed and API key set](https://docs.valyu.ai/quickstart.md):

```python theme={null}
from valyu import Valyu

valyu = Valyu()

# Search both Wiley finance papers and books
response = valyu.search(
    "derivatives pricing Black-Scholes options valuation",
    included_sources=[
        "wiley/wiley-finance-papers",
        "wiley/wiley-finance-books"
    ],
    max_num_results=10
)

for result in response.results:
    print(f"Title: {result.title}")
    print(f"Source: {result.source}")
    print(f"URL: {result.url}")
    print(f"Content: {result.content[:500]}...")
    print("---")
```

## How to use the JavaScript SDK

With your [SDK installed and API key set](https://docs.valyu.ai/quickstart.md):

```javascript theme={null}
import { Valyu } from "valyu-js";

const valyu = new Valyu();

// Search both Wiley finance papers and books
const response = await valyu.search(
  "derivatives pricing Black-Scholes options valuation",
  {
    includedSources: [
      "wiley/wiley-finance-papers",
      "wiley/wiley-finance-books"
    ],
    maxNumResults: 10
  }
);

response.results.forEach((result) => {
  console.log(`Title: ${result.title}`);
  console.log(`Source: ${result.source}`);
  console.log(`URL: ${result.url}`);
  console.log(`Content: ${result.content.slice(0, 500)}...`);
  console.log("---");
});
```

## Example queries

Below are example queries that work well with Wiley finance content. You can use these in the playground or through the API.

### Finance books (methods and reference)

```
"Designing and implementing an activity-based costing (ABC) system in an SME manufacturer - cost driver selection, pitfalls, and case studies."
```

```
"Audit data analytics techniques (e.g., Benford's Law, ratio analysis, regression) applied to revenue recognition fraud - chapters with Excel or R instructions."
```

```
"Real options valuation (binomial or Monte Carlo) for natural resource or R&D projects - comprehensive chapter-length walkthroughs with formulas and examples."
```

### Finance papers (empirical research)

```
"Empirical evidence that ESG or climate-risk disclosures lower firms' cost of debt/equity in emerging markets after 2015 (post-Paris Agreement)."
```

```
"High-frequency event studies on how unexpected U.S. monetary policy shocks spill over to Asian equity or FX volatility."
```

```
"Determinants of bank risk-taking and stability when boards have greater gender or ethnic diversity - cross-country panel analyses."
```

### More example queries (both datasets)

```
"portfolio optimization mean-variance efficient frontier"
```

```
"credit default swap pricing counterparty risk"
```

```
"hedge fund alpha generating strategies and performance measurement"
```

```
"fixed income bond duration convexity yield curve"
```

```
"mergers and acquisitions synergy valuation deal structure"
```

```
"financial modeling Excel discounted cash flow valuation"
```

```
"CAPM capital asset pricing model empirical tests"
```

```
"behavioral finance investor sentiment market anomalies"
```

## Use cases

* **Quantitative research** - Access methodologies for derivatives pricing, portfolio optimization, and risk modeling from peer-reviewed journals
* **Investment analysis** - Search textbook content on valuation frameworks, financial modeling, and fundamental analysis
* **Academic literature review** - Find relevant papers in the available finance journal collections
* **Risk management** - Access chapters on VaR, credit risk, and portfolio risk budgeting from authoritative textbooks
* **Financial modeling** - Reference Excel-based modeling techniques and quantitative methods from Wiley finance books
* **Research applications** - Retrieve relevant passages as context for cited answers and analysis.

## API reference

For complete API documentation, see:

* [Search API Reference](https://docs.valyu.ai/api-reference/endpoint/search.md) - Full parameter documentation for the Search endpoint
* [Python SDK - Search](https://docs.valyu.ai/sdk/python-sdk/search.md) - Python SDK usage guide
* [TypeScript SDK - Search](https://docs.valyu.ai/sdk/typescript-sdk/search.md) - TypeScript SDK usage guide

## Relevant links

> [card] [Financial services](https://docs.valyu.ai/use-cases/finance.md)
>
> Company profiles, competitor comparisons and filing analysis

> [card] [Wiley Health & Life Sciences](https://docs.valyu.ai/guides/wiley-hls.md)
>
> The licensed biomedical corpus, with the same retrieval model

> [card] [Academic use case](https://docs.valyu.ai/use-cases/academic.md)
>
> arXiv, preprints, and open scholarship

> [card] [Data coverage](https://docs.valyu.ai/concepts/data-coverage)
>
> Source families, access requirements and coverage boundaries


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.