Wire

Build a New Wire Action

Request a brand-new Wire action for a website that isn't in the catalog yet. Describe the site (website_url) and what the action should do or extract (goal); Wire generates and auto-tests a scraper, then publishes it. Asynchronous (returns status "pending") and charges credits, refunded automatically if the build fails.

post/wire/build-request

Request

  • Base URL: https://api.anakin.io/v1
  • URL: https://api.anakin.io/v1/wire/build-request
  • Auth: API key in header X-API-Key

Request body

website_urlstring required

The site to build an action for. The domain is extracted automatically.

goalstring required

Natural-language description of what the action should do or extract. Be specific — the builder synthesizes the scraper from this.

catalog_idstring

Optional — attach to an existing catalog instead of creating one.

visibility'private' | 'public'

Action visibility.

forceboolean

Build even if similar actions already exist for the domain (otherwise the request is rejected with ACTION_EXISTS).

actionsstring[]

Optional list of separate capabilities to build, each as its own action, for example "search products".

countrystring

Optional 2-letter country code to build and test from, for example "US".

Response

Build request accepted

statusstring

e.g. "pending" — the build runs asynchronously.

Changes

No recorded changes to this operation across all 1 revision of this API.