> ## 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 for AI Agents - Books & Peer-Reviewed Journals

Access 4,400+ Wiley Finance textbooks and 100,000+ peer-reviewed journal articles across 43 journals through one API. Full-text semantic search across authoritative financial theory, empirical research, and applied methodology - including figures, equations, and tables.

## 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
```

There is **one API endpoint** to use: the [Search API](/api-reference/endpoint/search) (`POST /v1/search`). You do not need any other endpoints for searching Wiley content.

You can test this in four ways (examples below):

1. **No code** - Use the [Search API Playground](#how-to-test-in-the-playground-no-code-required) in your browser
2. **Python** - Use the [Python SDK](#how-to-use-the-python-sdk) (`pip install valyu`)
3. **JavaScript** - Use the [TypeScript SDK](#how-to-use-the-javascript-sdk) (`npm install valyu-js`)
4. **Any language** - Call the [REST API directly](#how-to-use-the-api-directly) with cURL or any HTTP client

## Dataset overview

| Property       | Value                                                                            |
| -------------- | -------------------------------------------------------------------------------- |
| **Source IDs** | `wiley/wiley-finance-books`, `wiley/wiley-finance-papers`                        |
| **Size**       | 4,400+ books and 100,000+ papers across 43 journals                              |
| **Coverage**   | Quantitative finance, economics, accounting, governance, ESG, management science |
| **Data Type**  | Unstructured (full-text, figures, equations, tables)                             |

## Content types

| Source                         | Description                                                          | Best For                                              |
| ------------------------------ | -------------------------------------------------------------------- | ----------------------------------------------------- |
| **wiley/wiley-finance-books**  | 4,400+ textbooks and reference works with full chapter-level content | Methodology walkthroughs, frameworks, applied theory  |
| **wiley/wiley-finance-papers** | 100,000+ articles across 43 peer-reviewed Wiley Finance journals     | Empirical evidence, cross-country studies, literature |

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

## What you get

* **Full-text search** - Search across complete book chapters and journal articles, not just abstracts or metadata
* **Rich content types** - Figures, equations, tables, and worked examples are indexed and retrievable alongside prose
* **Structured depth** - Access step-by-step methodologies, proofs, case studies, and Excel/R walkthroughs that web sources cannot provide
* **Bibliographic metadata** - Authors, ISBNs, ISSNs, titles, and publisher attribution for proper citation
* **Semantic ranking** - Results ranked by conceptual relevance to your query, not keyword overlap

## Subject coverage

| Domain                        | Examples                                                                            |
| ----------------------------- | ----------------------------------------------------------------------------------- |
| **Quantitative Finance**      | Derivatives pricing, real options, stochastic modelling, Monte Carlo methods        |
| **Financial Economics**       | Asset pricing, monetary policy spillovers, market microstructure, banking stability |
| **Accounting & Audit**        | Fraud detection, revenue recognition, audit analytics, activity-based costing       |
| **Corporate Governance**      | Board composition, ownership structure, agency theory, gender diversity             |
| **ESG & Sustainable Finance** | Climate risk disclosure, cost of capital, green bonds, post-Paris regulation        |
| **Management Science**        | Decision-making, operations research, HR strategy, innovation management            |

## 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.

<Steps>
  <Step title="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 the "Enter a query" step.
  </Step>

  <Step title="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.

    <Frame>
      <img src="https://mintcdn.com/valyu/eEWo5CRCUtgnF3iV/images/wiley-playground-advanced-settings.png?fit=max&auto=format&n=eEWo5CRCUtgnF3iV&q=85&s=6295de177224b7ac3c1e7606b9f68ca1" alt="Click Advanced Settings to expand the settings panel" width="3010" height="1638" data-path="images/wiley-playground-advanced-settings.png" />
    </Frame>
  </Step>

  <Step title="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".

    <Frame>
      <img src="https://mintcdn.com/valyu/eEWo5CRCUtgnF3iV/images/wiley-playground-select-datasets.png?fit=max&auto=format&n=eEWo5CRCUtgnF3iV&q=85&s=08093d205b955b3e4f4cac2062805e47" alt="Select Wiley Papers and Wiley Books datasets in the dataset selector" width="3018" height="1652" data-path="images/wiley-playground-select-datasets.png" />
    </Frame>
  </Step>

  <Step title="Enter a query and click Run">
    Type a natural language query in the search box at the top and click **Run**. For example:

    ```
    Black-Scholes options pricing derivation with worked examples
    ```

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

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

    <Frame>
      <img src="https://mintcdn.com/valyu/eEWo5CRCUtgnF3iV/images/wiley-playground-results.png?fit=max&auto=format&n=eEWo5CRCUtgnF3iV&q=85&s=cf9e5eb3cbb512496b0c2fa9b4e21c17" alt="Search results from Wiley finance papers showing matched content" width="2994" height="1672" data-path="images/wiley-playground-results.png" />
    </Frame>

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

  <Step title="View the code snippet">
    At the bottom of the results panel, click **Show Code Snippets** to see the exact code you need to reproduce this search in your own application.

    <Frame>
      <img src="https://mintcdn.com/valyu/eEWo5CRCUtgnF3iV/images/wiley-playground-show-snippets.png?fit=max&auto=format&n=eEWo5CRCUtgnF3iV&q=85&s=a5908aedd6cfc0a600321668f3196a71" alt="Click Show Code Snippets at the bottom of the results panel" width="3006" height="1680" data-path="images/wiley-playground-show-snippets.png" />
    </Frame>

    The Snippets panel opens with ready-to-use code in **Python**, **TypeScript**, and **cURL**. You can copy this code directly into your project - it includes your query, the selected Wiley datasets, and your API key.

    <Frame>
      <img src="https://mintcdn.com/valyu/eEWo5CRCUtgnF3iV/images/wiley-playground-code-snippet.png?fit=max&auto=format&n=eEWo5CRCUtgnF3iV&q=85&s=ad0430081ee11bfd5376dae3c1c3cd03" alt="Code snippet panel showing Python code for the Wiley finance search" width="3018" height="1684" data-path="images/wiley-playground-code-snippet.png" />
    </Frame>
  </Step>
</Steps>

## How to use the API directly

### 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. **This is the key parameter.** |
| `max_num_results`  | `1` to `20`                                                             | Number of results to return                                                     |

<Note>
  **Important:** Use `included_sources` to specify the Wiley datasets. If you omit `included_sources`, the search will return results from all available datasets, not just Wiley.
</Note>

## How to use the Python SDK

<Steps>
  <Step title="Install the SDK">
    ```bash theme={null}
    pip install valyu
    ```
  </Step>

  <Step title="Set your API key">
    ```bash theme={null}
    export VALYU_API_KEY="your-api-key"
    ```
  </Step>

  <Step title="Search Wiley content">
    ```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("---")
    ```
  </Step>
</Steps>

For full Python SDK documentation, see the [Python SDK Search guide](/sdk/python-sdk/search).

## How to use the JavaScript SDK

<Steps>
  <Step title="Install the SDK">
    ```bash theme={null}
    npm install valyu-js
    ```
  </Step>

  <Step title="Set your API key">
    ```bash theme={null}
    export VALYU_API_KEY="your-api-key"
    ```
  </Step>

  <Step title="Search Wiley content">
    ```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("---");
    });
    ```
  </Step>
</Steps>

For full JavaScript SDK documentation, see the [TypeScript SDK Search guide](/sdk/typescript-sdk/search).

## Example queries

Below are example queries that work well with Wiley finance content. You can use these in the playground or through the API. Each query is aligned to a specific use case.

### Quantitative finance & trading

```
Black-Scholes options pricing derivation with worked examples
```

```
Monte Carlo simulation for exotic derivatives pricing
```

```
VaR CVaR stress testing implementation credit risk
```

```
GARCH volatility modelling financial time series
```

### Valuation & investment research

```
DCF discounted cash flow valuation terminal value assumptions
```

```
LBO leveraged buyout modelling synergy valuation M&A
```

```
private equity valuation illiquid assets methodology
```

### Due diligence & risk mapping

```
ESG climate disclosures impact on cost of capital credit ratings
```

```
credit default prediction systemic risk cross-country empirical
```

```
Benford's Law forensic accounting fraud detection Excel
```

### Prediction markets & forecasting

```
futures market pricing basis risk term structure commodities
```

```
overconfidence anchoring probability miscalibration behavioural finance
```

```
forecasting accuracy expert judgment vs market-based forecasts
```

### Additional queries

```
interest rate swap pricing yield curve bootstrapping
```

```
corporate governance board composition agency theory empirical
```

```
real options valuation binomial tree R&D project investment
```

```
pension fund asset allocation liability driven investment
```

```
stochastic calculus Ito's lemma financial applications
```

## Use cases

### Quantitative finance & trading

* **Derivatives pricing agents** - Retrieve full derivations and worked examples for options pricing models (Black-Scholes, binomial trees, Monte Carlo), interest rate models, and exotic structures - formulas and proofs included
* **Algorithmic strategy research** - Access peer-reviewed empirical work on market microstructure, high-frequency event studies, momentum, mean-reversion, and factor models with full methodology sections
* **Risk modelling** - Find authoritative treatments of VaR, CVaR, stress testing, credit risk, and liquidity risk with implementation-level detail across books and journals
* **Real options & capital allocation** - Surface chapter-length walkthroughs of real options valuation for R\&D, natural resources, and infrastructure projects using binomial and Monte Carlo approaches

### Valuation & investment research

* **Fundamental analysis agents** - Combine textbook valuation frameworks (DCF, multiples, adjusted present value) with peer-reviewed empirical evidence on discount rates, terminal value assumptions, and market anomalies
* **M\&A and leveraged finance** - Access structured content on deal structuring, synergy valuation, LBO modelling, and post-merger integration drawn from practitioner-oriented Wiley Finance titles
* **Private markets & alternatives** - Retrieve methodologies for valuing illiquid assets, private equity, real estate, and commodity derivatives across books and journals

### Due diligence & risk mapping

* **Credit and counterparty risk** - Find cross-country empirical studies and modelling frameworks for credit risk, default prediction, and systemic risk assessment
* **ESG and climate risk integration** - Access peer-reviewed evidence on how ESG and climate disclosures affect cost of capital, credit ratings, and equity valuations - critical for regulatory-aligned due diligence workflows
* **Audit and fraud detection** - Surface structured methodologies for revenue recognition fraud, Benford's Law analysis, and forensic accounting with tooling-level instructions (Excel, R)

### Prediction markets & forecasting research

* **Futures and derivatives pricing** - Access empirical and theoretical work on futures market pricing, basis risk, and the term structure of commodity and financial futures from the Journal of Futures Markets
* **Behavioural biases in markets** - Retrieve studies on overconfidence, anchoring, and probability miscalibration from the Journal of Behavioral Decision Making - directly relevant to understanding systematic mispricings
* **Forecasting accuracy and calibration** - Find research on the comparative accuracy of structured forecasting methods, expert judgment, and market-based forecasts across economic and financial domains
* **Risk and uncertainty quantification** - Surface work on decision-making under uncertainty, ambiguity aversion, and how agents price risk in thin or nascent markets

### Enterprise finance & research platforms

* **Academic research assistants** - Combine books and journals for comprehensive literature coverage with full citation metadata across financial economics, governance, and management science
* **Financial education tools** - Deliver authoritative, structured explanations of complex topics grounded in peer-reviewed and practitioner sources

## API reference

For complete API documentation, see:

* [Search API Reference](/api-reference/endpoint/search) - Full parameter documentation for the Search endpoint
* [Python SDK - Search](/sdk/python-sdk/search) - Python SDK usage guide
* [TypeScript SDK - Search](/sdk/typescript-sdk/search) - TypeScript SDK usage guide
