Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Bowmark Library API
version: 1.0.0
description: 'Run real tasks on live websites over plain HTTP. Two calls: read the typed function library for your task with `GET /v1/library`, then send a short async JavaScript script written against it to `POST /v1/run`. Or call one site''s functions directly: every site in `GET /v1/sites` has its own spec at `/v1/sites/{site}/openapi.json`. Guide: https://bowmark.ai/docs/api. Get a key at https://bowmark.ai/dashboard/keys.'
contact:
email: support@bowmark.ai
url: https://bowmark.ai/docs/api
termsOfService: https://bowmark.ai/terms
servers:
- url: https://api.bowmark.ai
security:
- bearer: []
- apiKeyHeader: []
tags:
- name: Library
paths:
/v1/library:
get:
operationId: getLibrary
summary: Read the function library for a task or a site
description: 'Read-only, touches no site, costs nothing. Returns the `bowmark.*` functions, their arguments and return types for the task. A query that matches nothing returns the index rather than an error. Markdown by default; send `Accept: application/json` for JSON.'
parameters:
- name: query
in: query
required: false
description: The task or the site's hostname (`flights`, `amazon.com`). Repeat it for a task with several parts (`?query=flights&query=hotels`), up to 6.
schema:
type: array
items:
type: string
maxItems: 6
style: form
explode: true
responses:
'200':
description: The library.
content:
text/markdown:
schema:
type: string
application/json:
schema:
type: object
required:
- library
- queries
properties:
library:
type: string
description: The library, as markdown.
query:
type:
- string
- 'null'
queries:
type: array
items:
type: string
'400':
description: More than 6 queries in one request.
'401':
description: No API key, or a key that was refused.
tags:
- Library
components:
securitySchemes:
bearer:
type: http
scheme: bearer
description: Your Bowmark API key (`bmk_…`), from https://bowmark.ai/dashboard/keys.
apiKeyHeader:
type: apiKey
in: header
name: X-Bowmark-Key
description: The same key, for a client that cannot set `Authorization`.
externalDocs:
description: HTTP API guide
url: https://bowmark.ai/docs/api