BASELibraryCatalogs

API: search, filters, and integrations

Get search results and product information as JSON for applications, scripts, automations, and agents with HTTP access.

What the API provides

Your code sends a request to BASE's server and processes a structured response. The API allows browser requests from BASE's origin; another website's frontend should use its own server. Requests with an unrelated Origin are rejected (403). You can integrate task-based selection, open product details, or compare records without parsing HTML pages for these operations.

The API is publicly readable without a BASE account or token. It uses the same index and rules as MCP. Ordinary website search runs in the browser; API/MCP requests are handled by the server. Quick start · OpenAPI 3.1 · Input and output schemas.

Routes

RequestResult
GET / POST /en/api/v1/searchProducts by name, task, and filters.
GET /en/api/v1/products/{id}Full product page for an existing ID.
POST /en/api/v1/compareInformation for up to five unique products.
GET /en/api/v1/taxonomyCategories, kits, and filter values.

The search response contains IDs and canonicalUrl. Use these IDs for reading and comparison; a product's name is not its ID.

Request examples

Search by task: example: image processing.

GET https://base.akulich.dev/en/api/v1/search?q=image%20processing&limit=5

Search with conditions: API testing tools with confirmed open source code. POST /en/api/v1/search with Content-Type: application/json:

{"q": "API testing", "filters": {"mode": "library", "openSource": true}, "limit": 5}

Server-side JavaScript: an example for an environment with fetch, such as Node.js. Search → read a product page from the results → compare up to three results. It uses IDs from the response, not preselected products. Empty results and HTTP errors are handled separately; comparison is skipped for a single result.

const base = "https://base.akulich.dev/en";
async function readJson(path, options) {
  const response = await fetch(base + path, options);
  if (!response.ok) throw new Error("BASE HTTP " + response.status);
  return response.json();
}
const params = new URLSearchParams({ q: "image processing", limit: "5" });
const search = await readJson("/api/v1/search?" + params);
if (search.results.length === 0) {
  console.log("No matches", search.appliedFilters, search.suggestions);
} else {
  const id = search.results[0].id;
  const product = await readJson("/api/v1/products/" + encodeURIComponent(id));
  console.log(product);
  const ids = search.results.slice(0, 3).map(item => item.id);
  if (ids.length >= 2) {
    const comparison = await readJson("/api/v1/compare", {
      method: "POST",
      headers: { "Content-Type": "application/json" },
      body: JSON.stringify({ ids })
    });
    console.log(comparison);
  }
}

For your own task, change q. Full product page: GET /en/api/v1/products/{id}, where id comes from results. Comparison: POST /en/api/v1/compare with a JSON array of result IDs in the field ids. Filter dictionary helps define exact conditions.

Filters and strict conditions

filters supports type, stack, platform, pricing, category, subcategory, mode, local, openSource and freeApi. Get values from /en/api/v1/taxonomy; mode: library, catalogs, all.

POST accepts arrays inside filters. In GET, repeat parameters to pass an array, for example stack=React&stack=TypeScript; Boolean conditions use true or false. URL-encode the q text. Values within an array use “OR”; groups use “AND”: stack=React&stack=TypeScript allows React or TypeScript rather than requiring both.

Unknown information is excluded from matches for strict requirements. Open source code does not confirm a free external API, export, or commercial rights. Check appliedFilters and warnings: conditions may be recognized from the text. Explicit filters take priority for the corresponding group. excludeInferred removes the specified inferred conditions while preserving explicit filters.

sort: relevance, name, newest. An exact name takes priority in relevance search. Suggested corrections and relaxed conditions are returned explicitly; changes to requirements must be agreed with the user.

Reading the response

The response contains dataVersion, appliedFilters, warnings, total, nextCursor, results, suggestions, facets and queryInfo. Search provides candidates and match reasons. Before recommending one, read the full product page for the selected ID.

The full record includes purpose, possible use cases, pricing and the scope of free use, license, requirements, limitations, sources, and editorial review scope. null and empty arrays mean confirmed information is unavailable. checkedAt is not a personal testing date.

Explain empty results using the applied conditions. Show service suggestions separately while retaining the original strict requirements.

Pagination and updates

Page size is 1 to 20 entries. Pass nextCursor to the next request with the same text, filters, sorting, and excludeInferred. A cursor is an opaque string: pass it unchanged. It is tied to the query and data version: on STALE_CURSOR, restart search from the first page.

New and corrected product pages enter the API when the site is built and published. Updating a local version does not change the public API. Compare dataVersion and reread records after it changes. Your application is responsible for refreshing its own cache.

For bulk reading: product index, data version and URLs, product schema. Start with search when selecting tools.

Limits and errors

Text is limited to 512 characters; results to 20 entries per page; the body to 16 KiB; and comparison to five unique IDs. Errors return JSON with error.code.

  • 400 — invalid parameters or cursor.
  • 404 — unknown product.
  • 405 — unsupported method.
  • 415 — unsupported media type.
  • 403 — disallowed Origin.
  • 429 or 503 — temporarily limited access; respect Retry-After.

Follow the OpenAPI schemas, check response status, limit retries, and handle empty results separately from errors.

Agent use through a link

An agent with HTTP access can use the API for your task even without an MCP connection. Provide the search URL and conditions:

Use https://base.akulich.dev/en/api/v1/search?q=3D%20modeling&limit=5. Choose tools for 3D modeling, read the candidates' full product pages, compare terms, and link to sources.

For a web tool that reads pages, there is the same search in HTML without JavaScript. API discovery depends on the client; its network permissions must allow it to read BASE. For ready-made tools inside an agent, use MCP.

Privacy and discovery

The API sends the query to BASE's server. The service code does not send it to external models or log its text, request body, or IP address. Hosting network logs are managed separately. Personal collections, their names, and codes are not included in public responses. Data collection and operation aggregates.

The interfaces are declared through API catalog (RFC 9727), OpenAPI, MCP manifest and a map for agents. Pages contain service-desc, service-doc, and service-meta. These aid discovery but do not force AI to use the API.

Rules for interpreting information and checking sources: BASE contract for agents.