# Kosmobids Public API Company-scoped HTTP API and MCP server for tender search, pipeline data, tender documents, document analysis, and API-authored comments. Both transports expose the same operations. Base URL: https://api.kosmobids.com/api/v1 MCP: https://api.kosmobids.com/mcp OpenAPI: https://api.kosmobids.com/api/v1/schema Documentation: https://api.kosmobids.com/docs ## Concepts - [Authentication and company scoping](https://api.kosmobids.com/docs/concepts/authentication-and-scoping): How API keys identify a company, which endpoints are company-scoped, and why another company's resources return 404. - [Tender, lot, notice, and file IDs](https://api.kosmobids.com/docs/concepts/ids-and-entities): The difference between a tender, a lot, a source tender, a notice, and the two IDs used for documents. - [Matching, scores, and fit](https://api.kosmobids.com/docs/concepts/matching-and-fit): How search criteria become candidates, what the relevance fields mean, and how saved-search runs classify fit. - [Saved searches and matching runs](https://api.kosmobids.com/docs/concepts/saved-searches-and-runs): Create persistent search criteria, trigger asynchronous matching, and poll the matches a run produced. - [Pipeline and pagination](https://api.kosmobids.com/docs/concepts/pipeline-and-pagination): Read the company's tracked tenders with cursor pagination and understand each field in the pipeline item. - [Updating the pipeline](https://api.kosmobids.com/docs/concepts/updating-the-pipeline): Move tenders between stages, replace tags, and archive or restore them through the API, with the validation and attribution rules. - [Documents and OCR](https://api.kosmobids.com/docs/concepts/documents-and-ocr): Upload documents to a tender, trigger document downloads, stream files, and read processed OCR content, page regions, and headers. - [Document analysis](https://api.kosmobids.com/docs/concepts/document-analysis): Ask structured questions about a tender and poll the asynchronous document-research workflow that answers them with citations. - [Comments](https://api.kosmobids.com/docs/concepts/comments): Post comments authored by your integration on a pipeline tender. - [Asynchronous work and polling](https://api.kosmobids.com/docs/concepts/async-and-polling): How to poll document downloads, matching runs, and document analyses, and when to retry. - [Errors and limits](https://api.kosmobids.com/docs/concepts/errors-and-limits): Response envelopes, status-code semantics, retryability, and the hard limits enforced by the Public API. - [Private tenders](https://api.kosmobids.com/docs/concepts/private-tenders): Create tender records that belong only to your company and stay out of matching and semantic search. ## Tutorials - [Quickstart](https://api.kosmobids.com/docs/tutorials/quickstart): Make your first authenticated request, read the response envelope, and follow a tender into the detail endpoint. - [Find and qualify tenders](https://api.kosmobids.com/docs/tutorials/find-and-qualify-tenders): Run a targeted search, hydrate the results, and decide which opportunities are worth pursuing. - [Automate a saved search](https://api.kosmobids.com/docs/tutorials/automate-a-saved-search): Create a saved search, trigger a matching run, poll until it is final, and page through the matches. - [Download and read documents](https://api.kosmobids.com/docs/tutorials/download-and-read-documents): Trigger a tender document download, wait for the files, stream them, and read the processed OCR content. - [Analyze and cite](https://api.kosmobids.com/docs/tutorials/analyze-and-cite): Ask a tender a set of questions and resolve the returned citations to verifiable pages, regions, and images. - [Look-alike discovery](https://api.kosmobids.com/docs/tutorials/look-alike-discovery): Find tenders semantically similar to a known tender, optionally filtered and optionally graded by an LLM. - [Build an agent on the API](https://api.kosmobids.com/docs/tutorials/build-an-agent): Orchestrate discovery, qualification, document analysis, and tender comments as tools in an agent loop. ## Reference - [MCP server](https://api.kosmobids.com/docs/reference/mcp): Connect an MCP client to the Kosmobids tools, with the same operations, auth, and limits as the HTTP API. - [Enums and status values](https://api.kosmobids.com/docs/reference/enums): Lookup tables for every enum exposed by the Public API. - [Limits and quotas](https://api.kosmobids.com/docs/reference/limits): Hard limits, page-size defaults, and validation bounds for the Public API. - [API changelog](https://api.kosmobids.com/docs/reference/changelog): Releases of the Kosmobids Public API, newest first. ## Response conventions - Success responses are wrapped as `{ "data": ..., "error": null }`. - Validation errors return `{ "data": null, "error": [...] }` with HTTP 422. - Asynchronous operations (document download, saved-search runs, document analysis) are polled; there are no webhooks.