API Auto-Discovery: Instant endpoint detection & security scoring

By the Flasqo team · August 5, 2026

TL;DR

Auto-Discovery scans any URL and automatically finds API endpoints, detects OpenAPI/Swagger documentation, identifies auth patterns, scores security headers, and generates ready-to-run tests. No manual configuration required. Try Flasqo Auto-Discovery free.

What is API Auto-Discovery?

Auto-Discovery is Flasqo's intelligent endpoint detection system. Give it any URL — a website, API root, or even a single endpoint — and it automatically:

Why Auto-Discovery matters

Manual API documentation is often outdated, incomplete, or missing entirely. Auto-Discovery solves this by:

How Auto-Discovery works

1. OpenAPI/Swagger Detection

Checks common paths like /swagger.json, /openapi.yaml, /api-docs and extracts all documented endpoints.

2. Common Path Crawling

Tests standard API paths: /api/*, /v1/*, /graphql, /health, and detects patterns in responses.

3. Link Extraction

Parses HTML pages for API links in <script> tags, fetch calls, and AJAX endpoints.

4. Response Analysis

Examines headers, status codes, and response bodies to identify RESTful patterns and auth requirements.

How to use Auto-Discovery in Flasqo

  1. Navigate to Auto-Discovery
    Go to Testing TypesAuto-Discovery → Launch
  2. Enter target URL
    Paste any URL:
    https://api.example.com (API root)
    https://example.com (website)
    https://api.example.com/v2/users (specific endpoint)
    Flasqo adapts its discovery strategy based on what you provide
  3. Click "Start Discovery"
    Flasqo runs in parallel:
    • Checks for OpenAPI/Swagger specs
    • Crawls common API paths
    • Analyzes responses for patterns
    • Tests security headers
  4. Review discovered endpoints
    Results show:
    • Full endpoint list with HTTP methods
    • Auth requirements detected
    • Security score (0-100)
    • Response types (JSON, XML, HTML)
  5. Security scoring breakdown
    Instant assessment:
    • ✅ HTTPS enabled
    • ✅ CORS configured (or ⚠️ missing)
    • ✅ Security headers present (CSP, HSTS, X-Frame-Options)
    • ⚠️ Warnings: Exposed debug routes, missing rate limiting
    • ❌ Failures: Unsecured HTTP endpoints, admin routes public
  6. Auto-generate tests
    Click "Generate Tests" on any discovered endpoint
    Flasqo creates:
    • Functional tests for all HTTP methods
    • Security tests (auth bypass, injection)
    • Performance baseline tests
    Tests are instantly runnable — no manual writing
  7. Export results
    Download as:
    JSON: Import into CI/CD pipelines
    OpenAPI spec: Generate documentation from discovered endpoints
    PDF report: Share with team/stakeholders

Real-world use cases

Pre-integration API audit

"We're integrating with a third-party API. What endpoints do they actually have?"

→ Auto-Discovery finds all endpoints, including undocumented ones, before you commit to integration.

Legacy API documentation

"Our API has been evolving for 5 years. Docs are outdated. What's actually live?"

→ Auto-Discovery crawls production and generates accurate endpoint list + auto-generates fresh OpenAPI spec.

Security audit

"Are there any exposed admin or debug endpoints we forgot about?"

→ Auto-Discovery finds /admin, /debug, /__env, and scores security posture.

Competitive analysis

"How does their public API work?"

→ Paste competitor's API URL, discover public endpoints, analyze auth patterns and response schemas.

What Auto-Discovery detects

Endpoint discovery

Authentication detection

Security assessment

Auto-Discovery vs manual testing

Aspect Manual Discovery Flasqo Auto-Discovery
Time required Hours to days 30-90 seconds
Coverage Depends on tester knowledge Comprehensive (OpenAPI + crawl)
Undocumented endpoints Often missed Automatically found
Security scoring Manual header checks Instant 0-100 score
Test generation Manual writing One-click auto-gen

Best practices

1. Run on staging first

Auto-Discovery makes real HTTP requests. Test on staging/dev environments before production to avoid triggering rate limits or alerts.

2. Review before testing

Discovered endpoints may include destructive operations (DELETE /users/:id). Review endpoint list before auto-running tests.

3. Combine with other test types

Auto-Discovery finds endpoints. Follow up with:

4. Schedule regular scans

Run Auto-Discovery weekly to catch new endpoints as your API evolves. Flasqo can alert you when new endpoints appear.

Discover your API in seconds

Zero config. Instant endpoint detection. Auto-generated tests. Security scoring included.

Run Auto-Discovery Free

Frequently asked questions

How does API auto-discovery work?

Flasqo first looks for a machine-readable specification at conventional paths such as /openapi.json, /swagger.json and /v3/api-docs. If none exists it crawls common endpoint patterns, observes live responses to infer schemas, and inspects response headers to score the security posture.

Can it discover endpoints behind authentication?

Yes, provided you supply credentials. Configure a Bearer token, API key or Basic auth and discovery runs as an authenticated caller, which usually reveals substantially more of the API surface than anonymous probing.

What does the security score measure?

It checks the response headers and transport configuration that are cheap to get right and commonly missed — HSTS, content-type options, frame options, referrer policy, CORS permissiveness and whether errors leak stack traces or framework versions.

Related reading

API Testing: The Complete Guide Production Gate: Pre-Deployment Readiness Testing & Scoring Full Send: Zero-Config Complete API Scan REST API Testing: How to Test REST Endpoints API Test Automation: A Suite That Runs Itself API Security Testing: The OWASP Top 10 Guide API Testing in CI/CD: Gate Every Deploy Flasqo vs Hoppscotch Flasqo vs Katalon Flasqo vs JMeter Flasqo vs k6