> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://you.com/docs/llms.txt.
> For full documentation content, see https://you.com/docs/llms-full.txt.

# Finance Research

POST https://api.you.com/v1/finance_research
Content-Type: application/json

The Finance Research API is purpose-built for financial questions. Like the Research API, it runs multiple searches, reads through sources, and synthesizes everything into a thorough, well-cited answer — but its retrieval index is optimized for financial data: earnings reports, SEC filings, analyst coverage, market data, and financial news.
Use it when you need credible, sourced answers to financial questions: company fundamentals, market trends, competitive analysis, earnings summaries, or macroeconomic research.

Reference: https://you.com/docs/api-reference/finance-research/v1-finance_research

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: finance_research
  version: 1.0.0
paths:
  /v1/finance_research:
    post:
      operationId: finance-research
      summary: >-
        Returns comprehensive finance-grade research answers with multi-step
        reasoning
      description: >-
        The Finance Research API is purpose-built for financial questions. Like
        the Research API, it runs multiple searches, reads through sources, and
        synthesizes everything into a thorough, well-cited answer — but its
        retrieval index is optimized for financial data: earnings reports, SEC
        filings, analyst coverage, market data, and financial news.

        Use it when you need credible, sourced answers to financial questions:
        company fundamentals, market trends, competitive analysis, earnings
        summaries, or macroeconomic research.
      tags:
        - ''
      parameters:
        - name: X-API-Key
          in: header
          description: >-
            A unique API Key is required to authorize API access. [Get your API
            Key with free credits](https://you.com/platform).
          required: true
          schema:
            type: string
      responses:
        '200':
          description: >-
            A JSON object containing a comprehensive finance-grade answer with
            citations and supporting search results
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/finance_research_Response_200'
        '401':
          description: Unauthorized. Problems with API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Finance_researchRequestUnauthorizedError'
        '403':
          description: Forbidden. API key lacks scope for this path.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Finance_researchRequestForbiddenError'
        '422':
          description: Unprocessable Entity. Request validation failed.
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Finance_researchRequestUnprocessableEntityError
        '500':
          description: >-
            Internal Server Error during authentication/authorization
            middleware.
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Finance_researchRequestInternalServerError
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                input:
                  type: string
                  description: >-
                    The financial research question or complex query requiring
                    in-depth investigation and multi-step reasoning.


                    Note: The maximum length of the input is 40,000 characters.
                research_effort:
                  $ref: >-
                    #/components/schemas/V1FinanceResearchPostRequestBodyContentApplicationJsonSchemaResearchEffort
                  description: >-
                    Controls how much time and effort the Finance Research API
                    spends on your question. Higher effort levels run more
                    searches and dig deeper into sources, at the cost of a
                    longer response time.


                    Available levels:

                    - `deep`: The default. Spends more time researching and
                    cross-referencing sources. Good for most financial
                    questions, including multi-company comparisons, earnings
                    analysis, and regulatory research.

                    - `exhaustive`: The most thorough option. Explores the topic
                    as fully as possible, best suited for complex financial
                    research tasks where you want the highest quality result.
              required:
                - input
servers:
  - url: https://api.you.com
components:
  schemas:
    V1FinanceResearchPostRequestBodyContentApplicationJsonSchemaResearchEffort:
      type: string
      enum:
        - deep
        - exhaustive
      default: deep
      description: >-
        Controls how much time and effort the Finance Research API spends on
        your question. Higher effort levels run more searches and dig deeper
        into sources, at the cost of a longer response time.


        Available levels:

        - `deep`: The default. Spends more time researching and
        cross-referencing sources. Good for most financial questions, including
        multi-company comparisons, earnings analysis, and regulatory research.

        - `exhaustive`: The most thorough option. Explores the topic as fully as
        possible, best suited for complex financial research tasks where you
        want the highest quality result.
      title: >-
        V1FinanceResearchPostRequestBodyContentApplicationJsonSchemaResearchEffort
    V1FinanceResearchPostResponsesContentApplicationJsonSchemaOutputContentType:
      type: string
      enum:
        - text
      description: The format of the content field.
      title: >-
        V1FinanceResearchPostResponsesContentApplicationJsonSchemaOutputContentType
    V1FinanceResearchPostResponsesContentApplicationJsonSchemaOutputSourcesItems:
      type: object
      properties:
        url:
          type: string
          description: The URL of the source webpage.
        title:
          type: string
          description: The title of the source webpage.
        snippets:
          type: array
          items:
            type: string
          description: >-
            Relevant excerpts from the source page that were used in generating
            the answer.
      required:
        - url
      title: >-
        V1FinanceResearchPostResponsesContentApplicationJsonSchemaOutputSourcesItems
    V1FinanceResearchPostResponsesContentApplicationJsonSchemaOutput:
      type: object
      properties:
        content:
          type: string
          description: >-
            The comprehensive finance-grade response with inline citations.
            Content is a Markdown string with numbered citations that reference
            the items in the sources array.
        content_type:
          $ref: >-
            #/components/schemas/V1FinanceResearchPostResponsesContentApplicationJsonSchemaOutputContentType
          description: The format of the content field.
        sources:
          type: array
          items:
            $ref: >-
              #/components/schemas/V1FinanceResearchPostResponsesContentApplicationJsonSchemaOutputSourcesItems
          description: A list of web sources used to generate the answer.
      required:
        - content
        - content_type
        - sources
      description: The research output containing the answer and sources.
      title: V1FinanceResearchPostResponsesContentApplicationJsonSchemaOutput
    finance_research_Response_200:
      type: object
      properties:
        output:
          $ref: >-
            #/components/schemas/V1FinanceResearchPostResponsesContentApplicationJsonSchemaOutput
          description: The research output containing the answer and sources.
      required:
        - output
      title: finance_research_Response_200
    Finance_researchRequestUnauthorizedError:
      type: object
      properties:
        detail:
          type: string
          description: Error detail message.
      title: Finance_researchRequestUnauthorizedError
    Finance_researchRequestForbiddenError:
      type: object
      properties:
        detail:
          type: string
      title: Finance_researchRequestForbiddenError
    V1FinanceResearchPostResponsesContentApplicationJsonSchemaDetailItemsLocItems:
      oneOf:
        - type: string
        - type: integer
      title: >-
        V1FinanceResearchPostResponsesContentApplicationJsonSchemaDetailItemsLocItems
    V1FinanceResearchPostResponsesContentApplicationJsonSchemaDetailItemsInput:
      oneOf:
        - type: string
        - type: object
          additionalProperties:
            description: Any type
      description: The input value that caused the error.
      title: >-
        V1FinanceResearchPostResponsesContentApplicationJsonSchemaDetailItemsInput
    V1FinanceResearchPostResponsesContentApplicationJsonSchemaDetailItems:
      type: object
      properties:
        type:
          type: string
          description: The validation error type.
        loc:
          type: array
          items:
            $ref: >-
              #/components/schemas/V1FinanceResearchPostResponsesContentApplicationJsonSchemaDetailItemsLocItems
          description: >-
            The location of the error as a path of segments (strings for field
            names, integers for byte offsets).
        msg:
          type: string
          description: A human-readable description of the error.
        input:
          $ref: >-
            #/components/schemas/V1FinanceResearchPostResponsesContentApplicationJsonSchemaDetailItemsInput
          description: The input value that caused the error.
        ctx:
          type: object
          additionalProperties:
            description: Any type
          description: Additional context about the error.
      required:
        - type
        - loc
        - msg
        - input
      title: V1FinanceResearchPostResponsesContentApplicationJsonSchemaDetailItems
    Finance_researchRequestUnprocessableEntityError:
      type: object
      properties:
        detail:
          type: array
          items:
            $ref: >-
              #/components/schemas/V1FinanceResearchPostResponsesContentApplicationJsonSchemaDetailItems
      title: Finance_researchRequestUnprocessableEntityError
    Finance_researchRequestInternalServerError:
      type: object
      properties:
        detail:
          type: string
      title: Finance_researchRequestInternalServerError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        A unique API Key is required to authorize API access. [Get your API Key
        with free credits](https://you.com/platform).

```

## SDK Code Examples

```python Earnings analysis
import requests

url = "https://api.you.com/v1/finance_research"

payload = {
    "input": "What were the key drivers of NVIDIA's (NVDA) revenue growth in fiscal year 2025, and how did Blackwell contribute compared to Hopper?",
    "research_effort": "deep"
}
headers = {
    "X-API-Key": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Earnings analysis
const url = 'https://api.you.com/v1/finance_research';
const options = {
  method: 'POST',
  headers: {'X-API-Key': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{"input":"What were the key drivers of NVIDIA\'s (NVDA) revenue growth in fiscal year 2025, and how did Blackwell contribute compared to Hopper?","research_effort":"deep"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Earnings analysis
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.you.com/v1/finance_research"

	payload := strings.NewReader("{\n  \"input\": \"What were the key drivers of NVIDIA's (NVDA) revenue growth in fiscal year 2025, and how did Blackwell contribute compared to Hopper?\",\n  \"research_effort\": \"deep\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("X-API-Key", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```java Earnings analysis
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.you.com/v1/finance_research")
  .header("X-API-Key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"input\": \"What were the key drivers of NVIDIA's (NVDA) revenue growth in fiscal year 2025, and how did Blackwell contribute compared to Hopper?\",\n  \"research_effort\": \"deep\"\n}")
  .asString();
```

```csharp Earnings analysis
using RestSharp;

var client = new RestClient("https://api.you.com/v1/finance_research");
var request = new RestRequest(Method.POST);
request.AddHeader("X-API-Key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"input\": \"What were the key drivers of NVIDIA's (NVDA) revenue growth in fiscal year 2025, and how did Blackwell contribute compared to Hopper?\",\n  \"research_effort\": \"deep\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Earnings analysis
import Foundation

let headers = [
  "X-API-Key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [
  "input": "What were the key drivers of NVIDIA's (NVDA) revenue growth in fiscal year 2025, and how did Blackwell contribute compared to Hopper?",
  "research_effort": "deep"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.you.com/v1/finance_research")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

```python Competitive benchmarking
import requests

url = "https://api.you.com/v1/finance_research"

payload = {
    "input": "Compare the free cash flow generation and capital allocation strategies of Apple, Microsoft, and Alphabet over the past three fiscal years",
    "research_effort": "deep"
}
headers = {
    "X-API-Key": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Competitive benchmarking
const url = 'https://api.you.com/v1/finance_research';
const options = {
  method: 'POST',
  headers: {'X-API-Key': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{"input":"Compare the free cash flow generation and capital allocation strategies of Apple, Microsoft, and Alphabet over the past three fiscal years","research_effort":"deep"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Competitive benchmarking
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.you.com/v1/finance_research"

	payload := strings.NewReader("{\n  \"input\": \"Compare the free cash flow generation and capital allocation strategies of Apple, Microsoft, and Alphabet over the past three fiscal years\",\n  \"research_effort\": \"deep\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("X-API-Key", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```java Competitive benchmarking
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.you.com/v1/finance_research")
  .header("X-API-Key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"input\": \"Compare the free cash flow generation and capital allocation strategies of Apple, Microsoft, and Alphabet over the past three fiscal years\",\n  \"research_effort\": \"deep\"\n}")
  .asString();
```

```csharp Competitive benchmarking
using RestSharp;

var client = new RestClient("https://api.you.com/v1/finance_research");
var request = new RestRequest(Method.POST);
request.AddHeader("X-API-Key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"input\": \"Compare the free cash flow generation and capital allocation strategies of Apple, Microsoft, and Alphabet over the past three fiscal years\",\n  \"research_effort\": \"deep\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Competitive benchmarking
import Foundation

let headers = [
  "X-API-Key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [
  "input": "Compare the free cash flow generation and capital allocation strategies of Apple, Microsoft, and Alphabet over the past three fiscal years",
  "research_effort": "deep"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.you.com/v1/finance_research")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```