---
title: "List available extraction templates"
method: GET
path: "/spa-extract/templates"
tags: ["Browser tasks"]
---

# List available extraction templates

`GET /spa-extract/templates`

## Request

- Base URL: `https://api.adscrawl.net`
- URL: `https://api.adscrawl.net/spa-extract/templates`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/adscrawl/apis/adscrawl-api/docs/spa-extract/templates/get.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

Templates with their inputs, output fields, and catalog metadata.

- object
  - `templates` ExtractionTemplate[], required
    - `id` string
    - `name` string
    - `description` string
    - `urlPattern` string
    - `exampleUrl` string
    - `version` integer
    - `updatedAt` string, date-time
    - `outputFields` string[]
    - `waitUntil` string
    - `input` object
    - `catalog` object

## Other responses

- `default`: Error response. Typical statuses are 400 invalid input, 401 invalid authentication, 402 payment/credits required, 403 ownership mismatch, 404 missing resource, 409 state or quota conflict, 410 expired session, 429 rate/concurrency limit, 500 internal failure, 502 upstream failure, 503 capacity/runtime unavailable, or 504 timeout. Not every status applies to every operation. Use HTTP status and code when present.

---

[API](https://skmtc.dev/adscrawl/apis/adscrawl-api.md) - [All operations](https://skmtc.dev/adscrawl/apis/adscrawl-api/llms.txt) - [OpenAPI document](https://skmtc.dev/adscrawl/apis/adscrawl-api/revisions/aa45d0651921?raw)
