---
updatedAt: 2026-06-09T12:32:57.000Z
agentTools:
  projectIndex: https://docs.bavest.co/llms.txt
---

# IPO Documents

Returns the document catalog for a single IPO (prospectus, SEC filings,
multi-language prospectus summaries). The optional `language` parameter
filters documents to the requested language (only that language is
returned); the optional `type` parameter filters to a single document
type. Supports offset and cursor pagination.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Bavest API",
    "description": "Enterprise-grade REST API for financial market data, analytics, and quantitative portfolio management.\n\n## Categories\n\n| Category | Description |\n|----------|-------------|\n| **Account** | API status and usage quota |\n| **Bulk** | Batch any endpoint across up to 100 symbols/ISINs |\n| **Calendar** | IPO event calendar |\n| **Corporate Actions** | Stock splits, earnings events, transcripts |\n| **Crypto** | Cryptocurrency profiles |\n| **Dividends** | Dividend history, annual summaries, calendar |\n| **Economic Indicators** | Macroeconomic indicators (CPI, GDP, inflation, rates, unemployment) |\n| **Equities** | Company profiles, peers, financial statements, metrics, market cap |\n| **Estimates** | Analyst consensus estimates, recommendations, upgrades/downgrades |\n| **ETFs** | ETF profiles, holdings, sectors, countries, risk, fees, KID |\n| **Forex** | Currency pair quotes and candles |\n| **Funds** | Mutual fund profiles, holdings, sectors, countries, and metrics (NAV, AUM, performance returns) |\n| **News** | Stock-specific and market-wide news |\n| **Bavest QuantOS** | Quantitative portfolio analytics (allocation, stats) |\n| **Reference** | Security search, screener, market indices |\n| **Timeseries Data** | Real-time quotes, end-of-day prices, historical prices, OHLCV candles, NAV |\n| **AI** | MCP server to connect AI agents to all Bavest API endpoints |\n\n## Response Envelope\nAll responses wrap the result in a **data** field.\n\n## Examples\nRequest examples use one security identifier. Clear it before supplying an alternative identifier.\nOptional filters are left blank so that the API's defaults apply; supported values are described beside each parameter.\nResponse examples are snapshots with abbreviated lists, not live quotes. Check each observation's own date for freshness.\n\n## Authentication\nAll requests require an **x-api-key** header. Include it in every request.\n\nKeep your API key secret. Do not expose it in client-side code.\n\n## Rate Limits\nRate limits vary by plan tier. When exceeded, you will receive a 429 Too Many Requests response.\n\n## Versioning\nMajor version in URL path (/v2/). Minor and patch versions are backward-compatible.\n\n## SDKs\nOfficial SDKs are available for Python, TypeScript, and Go.",
    "version": "2.2.0",
    "termsOfService": "https://www.bavest.co/en/legal/terms-of-service",
    "contact": {
      "name": "Bavest API Support",
      "url": "https://bavest.co",
      "email": "support@bavest.co"
    },
    "license": {
      "name": "Proprietary",
      "url": "https://bavest.co/terms"
    },
    "x-logo": {
      "url": "https://bavest.co/logo.png",
      "altText": "Bavest"
    }
  },
  "servers": [
    {
      "url": "https://api.bavest.co",
      "description": "Production API"
    },
    {
      "url": "https://sandbox.api.bavest.co",
      "description": "Sandbox (test data)"
    }
  ],
  "security": [
    {
      "apiKey": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-languages": [
      "shell",
      "python",
      "javascript",
      "go"
    ],
    "parameter-ordering": [
      "path",
      "query",
      "body",
      "cookie",
      "form",
      "header"
    ],
    "metrics-enabled": true
  },
  "tags": [
    {
      "name": "IPO",
      "description": "Hot IPO offerings with terms, timeline milestones, multi-period financials\n(with business-segment breakdowns), and a multi-language document catalog.\n\nDocuments support language content-negotiation with a canonical-primary\nfallback: request a `language` and each document type returns that language\nif available, otherwise the primary language."
    }
  ],
  "paths": {
    "/v2/ipo/documents": {
      "get": {
        "operationId": "ipo.documents",
        "summary": "IPO Documents",
        "description": "Returns the document catalog for a single IPO (prospectus, SEC filings,\nmulti-language prospectus summaries). The optional `language` parameter\nfilters documents to the requested language (only that language is\nreturned); the optional `type` parameter filters to a single document\ntype. Supports offset and cursor pagination.",
        "tags": [
          "IPO"
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/IPODocument"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/PaginationMeta"
                    }
                  }
                },
                "example": {
                  "data": [
                    {
                      "docType": "prospectus",
                      "label": "Prospectus",
                      "language": "en",
                      "format": "pdf",
                      "isPrimary": true,
                      "url": null
                    },
                    {
                      "docType": "prospectus_summary",
                      "label": "Prospectus Summary",
                      "language": "en",
                      "format": "pdf",
                      "isPrimary": true,
                      "url": null
                    }
                  ],
                  "meta": {
                    "page": 1,
                    "pageSize": 100,
                    "totalPages": 1,
                    "totalCount": 8,
                    "parameters": {
                      "limit": "100",
                      "symbol": "SPCX"
                    },
                    "time": 2349
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          },
          "502": {
            "$ref": "#/components/responses/BadGateway"
          },
          "504": {
            "$ref": "#/components/responses/GatewayTimeout"
          },
          "default": {
            "$ref": "#/components/responses/InternalServerError"
          }
        },
        "parameters": [
          {
            "$ref": "#/components/parameters/acceptJson"
          },
          {
            "$ref": "#/components/parameters/ipoSymbolQuery"
          },
          {
            "name": "language",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Filter documents to this language (ISO 639-1 / BCP-47). Only documents in the requested language are returned; omit for the full multi-language catalog. Example when explicitly filtering: `de`."
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Filter to a single document type (e.g. `prospectus`, `sec_s1`, `prospectus_summary`). Example when explicitly filtering: `prospectus_summary`."
          },
          {
            "$ref": "#/components/parameters/limitQuery"
          },
          {
            "$ref": "#/components/parameters/offsetQuery"
          },
          {
            "$ref": "#/components/parameters/cursorQuery"
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "apiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key",
        "description": "API key for authentication. Obtain from [bavest.co/dashboard](https://bavest.co/dashboard).",
        "x-default": "demo_api_key"
      }
    },
    "parameters": {
      "ipoSymbolQuery": {
        "name": "symbol",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string",
          "example": "SPCX"
        },
        "description": "IPO ticker symbol (e.g., `SPCX` for SpaceX). Symbol only — ISIN is not supported for IPO endpoints."
      },
      "limitQuery": {
        "name": "limit",
        "in": "query",
        "required": false,
        "schema": {
          "type": "integer",
          "format": "int32",
          "default": 100,
          "minimum": 1,
          "maximum": 1000
        },
        "description": "Maximum number of results to return (default 100, max 1000)"
      },
      "offsetQuery": {
        "name": "offset",
        "in": "query",
        "required": false,
        "schema": {
          "type": "integer",
          "format": "int32",
          "default": 0,
          "minimum": 0
        },
        "description": "Number of results to skip for pagination (default 0)"
      },
      "cursorQuery": {
        "name": "cursor",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "description": "Opaque cursor for cursor-based pagination. When provided, returns results after the cursor position. Takes precedence over offset."
      },
      "acceptJson": {
        "name": "Accept",
        "in": "header",
        "required": false,
        "schema": {
          "type": "string",
          "default": "application/json"
        },
        "description": "Response content type. Defaults to `application/json`."
      }
    },
    "responses": {
      "Unauthorized": {
        "description": "Missing or invalid API key.",
        "headers": {
          "X-Request-Id": {
            "$ref": "#/components/headers/RequestId"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "message": "Missing Authentication Token",
              "status": "ERROR"
            }
          }
        }
      },
      "NotFound": {
        "description": "Resource not found.",
        "headers": {
          "X-Request-Id": {
            "$ref": "#/components/headers/RequestId"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "message": "The requested security is not found.",
              "status": "ERROR"
            }
          }
        }
      },
      "RateLimited": {
        "description": "Rate limit exceeded. Retry after the `Retry-After` header interval.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "message": "Rate limit exceeded. Please retry after cooldown.",
              "status": "ERROR"
            }
          }
        },
        "headers": {
          "X-Request-Id": {
            "$ref": "#/components/headers/RequestId"
          },
          "Retry-After": {
            "schema": {
              "type": "integer"
            },
            "description": "Seconds until rate limit resets"
          },
          "X-RateLimit-Remaining": {
            "schema": {
              "type": "integer"
            },
            "description": "Remaining requests in current window"
          },
          "X-RateLimit-Limit": {
            "schema": {
              "type": "integer"
            },
            "description": "Maximum requests allowed in current window"
          },
          "X-RateLimit-Reset": {
            "schema": {
              "type": "integer"
            },
            "description": "Unix timestamp when the rate limit window resets"
          }
        }
      },
      "BadRequest": {
        "description": "Invalid request parameters. Returned when required query parameters are missing, have invalid types, or violate constraints (e.g., providing both symbol and isin when they are mutually exclusive).",
        "headers": {
          "X-Request-Id": {
            "$ref": "#/components/headers/RequestId"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "message": "Either 'symbol', 'isin', or 'cusip' must be provided.",
              "status": "ERROR"
            }
          }
        }
      },
      "BadGateway": {
        "description": "Upstream data provider returned an error or is temporarily unavailable. Retry after a short delay.",
        "headers": {
          "X-Request-Id": {
            "$ref": "#/components/headers/RequestId"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "message": "Upstream data provider is temporarily unavailable. Please retry after a short delay.",
              "status": "ERROR"
            }
          }
        }
      },
      "GatewayTimeout": {
        "description": "The request timed out waiting for a response from the upstream data provider. This may occur for complex queries or during peak load.",
        "headers": {
          "X-Request-Id": {
            "$ref": "#/components/headers/RequestId"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "message": "Request timed out waiting for upstream data provider. Consider narrowing your date range or simplifying the query.",
              "status": "ERROR"
            }
          }
        }
      },
      "InternalServerError": {
        "description": "An unexpected error occurred on the server. If the issue persists, contact support with the X-Request-Id header value.",
        "headers": {
          "X-Request-Id": {
            "$ref": "#/components/headers/RequestId"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "message": "Bavest server error.",
              "status": "ERROR"
            }
          }
        }
      }
    },
    "headers": {
      "RequestId": {
        "schema": {
          "type": "string",
          "format": "uuid"
        },
        "description": "Unique request identifier for tracing and debugging. Present on every response.",
        "example": "550e8400-e29b-41d4-a716-446655440000"
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "description": "Standard error response.\n\nTwo 404 messages exist and they mean different things. \"The requested\nsecurity is not found.\" means the identifier did not resolve. \"No data\navailable for the requested security.\" means it resolved but has no data\nfor this request.\n",
        "properties": {
          "message": {
            "type": "string",
            "description": "Human-readable error description",
            "example": "No data available for the requested security."
          },
          "status": {
            "type": "string",
            "description": "Error status indicator",
            "example": "ERROR"
          },
          "meta": {
            "$ref": "#/components/schemas/ResponseMeta"
          }
        },
        "required": [
          "message",
          "status"
        ]
      },
      "ResponseMeta": {
        "type": "object",
        "description": "Response envelope metadata. Always present on a 200: `time` is set by\n`core/response.py` on every successful response. Errors carry the same\nblock, built by the same code, so a client parses one meta shape whether\nthe call succeeded or failed.",
        "properties": {
          "time": {
            "type": "integer",
            "description": "Server-side processing time in milliseconds",
            "example": 17
          },
          "parameters": {
            "type": "object",
            "additionalProperties": true,
            "description": "Echo of the request parameters the endpoint resolved",
            "example": {
              "symbol": "AAPL"
            }
          }
        }
      },
      "PaginationMeta": {
        "type": "object",
        "description": "Response metadata for paginated endpoints. Offset pagination returns\n`page`/`pageSize`/`totalPages`/`totalCount`; cursor pagination returns\n`pageSize`/`hasMore`/`nextCursor` and `totalCount` only when known.",
        "allOf": [
          {
            "$ref": "#/components/schemas/ResponseMeta"
          },
          {
            "type": "object",
            "properties": {
              "page": {
                "type": "integer",
                "description": "Current page number (offset pagination)",
                "example": 1
              },
              "pageSize": {
                "type": "integer",
                "description": "Number of results per page",
                "example": 50
              },
              "totalPages": {
                "type": "integer",
                "description": "Total number of pages (offset pagination)",
                "example": 2
              },
              "totalCount": {
                "type": "integer",
                "description": "Total number of results across all pages",
                "example": 100
              },
              "hasMore": {
                "type": "boolean",
                "description": "Whether more results follow (cursor pagination)"
              },
              "nextCursor": {
                "type": "string",
                "nullable": true,
                "description": "Cursor for the next page (cursor pagination), null on the last page"
              }
            }
          }
        ]
      },
      "IPODocument": {
        "type": "object",
        "description": "An IPO document (link/metadata). At most one document per (docType) is the\ncanonical `isPrimary` language used as the i18n fallback.",
        "properties": {
          "docType": {
            "type": "string",
            "description": "Document type key (e.g. `prospectus`, `sec_s1`, `prospectus_summary`)",
            "example": "sec_s1"
          },
          "label": {
            "type": "string",
            "nullable": true,
            "description": "Localized document label",
            "example": "SEC S-1"
          },
          "language": {
            "type": "string",
            "nullable": true,
            "description": "Document language (ISO 639-1 / BCP-47)",
            "example": "en"
          },
          "format": {
            "type": "string",
            "nullable": true,
            "description": "Document format",
            "enum": [
              "pdf",
              "html"
            ],
            "example": "html"
          },
          "isPrimary": {
            "type": "boolean",
            "nullable": true,
            "description": "Whether this is the canonical language for its docType (used as fallback)",
            "example": true
          },
          "url": {
            "type": "string",
            "nullable": true,
            "description": "Document URL, or null when not yet published",
            "example": "https://www.sec.gov/Archives/edgar/data/1181412/000162828026036936/spaceexplorationtechnologi.htm"
          }
        }
      }
    }
  }
}
```