extract_api_endpoints
Extract structured API endpoints from documentation pages, automatically detecting Swagger, Redoc, Stoplight, FMP, or generic sites.
Instructions
Extract structured API endpoint data from an API documentation site.
Automatically detects the site type (swagger, redoc, stoplight, fmp, generic). Override detection by passing site_type explicitly.
Args: url: URL of the API documentation page. site_type: Force a specific extractor — 'swagger' | 'redoc' | 'stoplight' | 'fmp' | 'generic'.
Returns: { endpoints: [{method, path, operation_id, summary, description, tags, parameters}], count: int, site_type: str, url: str, }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| site_type | No |