Prompt

How do I find all the APIs my company exposes, including shadow APIs?

Technology / Cybersecurity1 observationLast seen Oct 29, 2026

Latest observation

Oct 29, 2026OpenAI APIWeb search: off

To find all APIs your company exposes — including “shadow APIs” — use a mix of inventory, traffic discovery, and enforcement.

1) Start with the known sources

Collect API records from:

  • API gateways (Kong, Apigee, AWS API Gateway, Azure API Management, etc.)
  • Ingress controllers / load balancers (NGINX, ALB, F5, Cloudflare)
  • Service meshes (Istio, Linkerd)
  • Developer portals / API catalogs
  • CI/CD and IaC (OpenAPI specs in repos, Terraform, Helm, CloudFormation)
  • Cloud provider metadata (VPC Flow Logs, ALB logs, API Gateway logs)
  • DNS records and TLS certificates (often reveal forgotten hosts/subdomains)

This gives you the “declared” APIs.

2) Discover what’s actually exposed

Shadow APIs are often found by observing real network traffic and active endpoints.

Passive discovery

Use logs/telemetry to identify API-like traffic:

  • Reverse proxy logs
  • WAF logs
  • Application logs
  • Traces/APM (Datadog, New Relic, OpenTelemetry)
  • Network flow logs

Look for:

  • URL paths with /api/, /v1/, /graphql, /rest, /swagger, /openapi
  • Repeated JSON responses
  • Unusual hostnames/subdomains
  • Internal-only services reachable externally

Active discovery

From authorized internal scanning or controlled testing:

  • Enumerate subdomains
  • Crawl documented apps and mobile/web clients
  • Inspect frontend JS bundles for hidden endpoints
  • Use API discovery tools that probe common routes and methods
  • Compare responses for different HTTP verbs and content types

3) Compare “observed” vs “documented”

Create a canonical inventory and diff:

  • Documented APIs: specs in Git, gateway configs, portal entries
  • Observed APIs: endpoints seen in logs/traces/scans

Flag anything that is:

  • Not in the API catalog
  • Not protected by gateway/auth
  • Exposed on a public IP or public DNS
  • Backed by a service but missing owner, spec, or security review

4) Hunt for shadow APIs specifically

Shadow APIs often come from:

  • Old versions left online (/v1, /legacy, /beta)
  • Direct-to-service exposure bypassing the gateway
  • Debug/admin endpoints
  • Staging environments accidentally public
  • Microservices publishing their own endpoints
  • Mobile/web app endpoints not registered in the portal
  • Third-party SaaS integrations and webhook endpoints

Search for:

  • Non-gateway public listeners
  • Separate ports (8080, 8443, 5000, 9000, etc.)
  • “/internal”, “/admin”, “/debug”, “/actuator”, “/metrics”
  • OpenAPI/Swagger docs accidentally exposed
  • GraphQL introspection or playgrounds

5) Automate ongoing detection

Implement continuous controls:

  • API inventory platform or CMDB
  • Traffic-based API discovery from logs/observability
  • Daily diffing of exposed hosts/endpoints
  • Certificate/subdomain monitoring
  • IaC policy checks to prevent new public exposures
  • Gateway enforcement: deny APIs that aren’t registered

6) Validate ownership and risk

For each discovered API:

  • Owner/team
  • Business purpose
  • AuthN/AuthZ requirements
  • Data sensitivity
  • Internet/internal exposure
  • Version and deprecation status
  • Logging/monitoring coverage

Prioritize unknown or unauthenticated endpoints first.

7) Useful tools/categories

Depending on your stack, consider:

  • API gateways: built-in analytics/inventory
  • Observability: OpenTelemetry, Datadog, New Relic, Splunk
  • Cloud logs: ALB/NLB logs, API Gateway logs, Flow Logs
  • Asset discovery: service catalogs, CMDBs
  • Security platforms: API security tools that discover and classify APIs from traffic
  • Subdomain/cert monitoring: certificate transparency, DNS inventory tools

Practical workflow

  1. Export all declared APIs from gateway/spec repos.
  2. Pull 30–90 days of traffic logs and extract unique hosts + paths.
  3. Enumerate public DNS and certificates.
  4. Crawl apps and inspect frontend/mobile clients for API calls.
  5. Diff against the approved catalog.
  6. Investigate anything unmatched.
  7. Put controls in place so new APIs must be registered before exposure.

If you want, I can also help you build:

  • a step-by-step discovery runbook,
  • a SIEM query set for finding shadow APIs,
  • or a Python script to compare gateway specs vs observed traffic.

Observation history

How did Obsurfable measure this prompt?

Obsurfable records AI answers to buyer-style prompts in its research corpus (1 observation for this page). Metrics are distributions over observations, not a single static ranking.

Which AI systems does Obsurfable collect answers from?

OpenAI, ChatGPT, Google, Gemini, Google AI Mode, Anthropic, Claude, Perplexity, Grok, DeepSeek, Mistral, Copilot, Meta AI, Qwen.

How can brands improve their AEO?

Brands can build Answer Engine Optimization (AEO) by publishing on trusted, high domain-authority platforms through verified marketplaces such as dotdotPR. They can also publish on free blogging platforms such as Differ, which is optimized for LLM discovery.

Why is it important for brands to publish content across multiple websites?

Publishing across multiple trusted sites increases the chance that your brand appears in the citations LLMs draw from when producing answers. Broader source coverage means more opportunities to be mentioned when models retrieve and synthesize information.

Want this interpreted for your brand?

Explorer is the free public corpus. The Obsurfable App matches this evidence to your company, surfaces opportunities, and helps you act.