All API HubAll API Hub
Homepage
Getting Started
Frequently Asked Questions
Changelog
  • 简体中文
  • English
  • 日本語
Homepage
Getting Started
Frequently Asked Questions
Changelog
  • 简体中文
  • English
  • 日本語
  • 🚀 Getting Started

    • Getting Started
    • Overview (Main Dashboard of the Settings Page)
    • Permission Management (Optional Permissions)
    • Installation Channels and Updates
    • Chromium self-updating install (.crx)
    • Install the Safari Extension
    • Other Browser Installation Guide
  • 🔑 Accounts & Credentials

    • Add Accounts
    • Account Management
    • Service Guides
    • Managing FennoAI API Assets with All API Hub
    • Manage Suixiang AI Relay with All API Hub
    • API Credential Library
    • Key Management
    • Bookmark Management
    • Sorting Priority Settings
  • 📊 Analytics & Dashboard

    • Balance History
    • Usage Analysis
    • Share Snapshot
    • Model List and Price Comparison
    • Automatic Refresh and Real-time Data
  • 🤖 Automation Helpers

    • Automatic Check-in and Check-in Monitoring
    • Site Announcements
    • Task Notifications
    • Redemption Assist
    • Web AI API Sniffing and Verification
    • Cloudflare Shield Bypass Assistant
  • 🔌 Ecosystem & Integrations

    • Supported Site List
    • LDOH Site Lookup
    • Supported Export Tools List
    • Quick Export Site Configuration
  • 🛠️ Admin Management

    • Managed Site Model Sync
    • Self-Hosted Site Management
    • CLIProxyAPI Management
    • OmniRoute Management
    • gpt-load
    • Model Redirect
    • New API Security Verification
  • 🛡️ Data & Support

    • Data Import and Export
    • Cloud Backup and Automatic Sync
    • All API Hub Privacy Policy
    • Troubleshooting Guide for Auto-Identification
    • Developer & Advanced Tools
    • Frequently Asked Questions
  • Changelog

Web AI API Sniffing and Verification

Sniff Base URL and API Key on webpages and verify them instantly. Supports right-click checks and automatic detection with a configurable website scope.

Background

When browsing AI communities (e.g., Linux.do), GitHub Issues, or technical documentation, you often encounter shared test keys. The traditional approach is to copy the Base URL, copy the Key, open the extension, fill in the configuration, and click verify.

The Web AI API Sniffing feature simplifies this process into:

  • Select text → Right-click "Check AI API" → Test directly.
  • Or: Select or copy content containing credentials to receive a confirmation prompt.

Core Capabilities

1. Right-Click Menu Check (Context Menu)

Select text containing a Base URL or API Key on any webpage, right-click, and select "Check AI API". The extension will attempt to extract valid interface information from the selected text (or clipboard) and pop up a test overlay within the current page.

2. Automatic Sniffing (Auto Detect)

By default, selection and copy actions on all HTTP/HTTPS pages can trigger detection of the selected or copied content. Opening a post alone does not scan the entire page.

  • If a likely valid Base URL + Key combination is extracted, a lightweight prompt will pop up in the upper right corner of the page.
  • Click the prompt to open the test dialog.
  • Enhanced detection can also recognize Base64-encoded keys with known formats. If the API URL is missing, add it in the dialog before testing. Selected HTTP/HTTPS link destinations are included in extraction.

3. In-page Test Dialog

Perform the following operations without leaving the current webpage:

  • Automatic Extraction: Automatically separate Base URL, Secret Key, and API Type from the source text.
  • Instant Testing: Click "Start Test" to verify the connectivity of the key and available models.
  • Test mode: Choose Streaming (the default) or Non-streaming. Generation tests use that mode without switching automatically on failure. Results and verification history saved to the API Credential Library show the mode used. Fetching the model list is unaffected.
  • Get Model List: Fetch the full list of model IDs supported by the upstream site with one click.
  • Save to API Credential Library: Once verified, save it with one click to the extension's API Credential Library for later copying, verification, or export to tools like CherryStudio.

Configuration and Customization

Navigate to Settings → Basic Settings → Web AI API Check to configure the following:

1. Basic Switches

  • Right-Click Menu: Whether to show "Check AI API" in the browser's right-click menu.
  • Auto Detect: Whether to detect selected or copied content on participating websites.

2. Website Black/White Lists

  • Whitelist: When nonempty, only matching pages can prompt automatically. When empty, unlisted websites can also participate.
  • Blacklist: Blocks automatic prompts on matching pages. With both lists empty, all HTTP/HTTPS pages are allowed by default.
  • Overlap priority: When both lists match, use the selected blacklist-first (default) or whitelist-first policy.
  • Long lists show three rules and a faded preview of the next rule. Expand or collapse each list independently. Enter a URL to preview the decision and reason locally without making verification requests.

3. Add and Edit Rules

  • Click Add beside a list to open the editor. Paste multiple lines or select multiple browser-tab websites. Each pending rule has its own syntax; confirmation saves and deduplicates the batch.
  • Wildcard (default): linux.do becomes *://linux.do/* and matches that host. *.example.com matches both the root domain and its subdomains. Use https://example.com/private/* to restrict the scheme and path. Omitting a port ignores the page port; an explicit port must match.
  • Exact URL: Matches the complete URL, including query parameters and fragments. Shortcuts select the current page, whole website, or subdomains.
  • Regular expression: Uses case-insensitive JavaScript RegExp. Unsafe or invalid expressions cannot be saved.
  • Existing domain, path and regex rules retain their matching behavior. An existing empty restricted scope becomes an explicit block-all rule. On upgrade, an old empty allowlist without a configured scope becomes all websites; disabled switches remain disabled.
  • Click Add or Save to persist changes. Invalid input, save failures and cancellation retain the draft; cancellation does not write rules. Use the inline edit and remove buttons for saved rules.

4. Control This Website from the Page

Click Stop auto-detect on this website in the notice to save a disabled choice for the current website. You can also open the check panel from the browser context menu and toggle Auto-detect on this website. This does not change the global switch. The lists and overlap priority still determine the effective result; open settings from the panel if a rule continues to block it. Manual context-menu checks remain independent of automatic-detection site rules.

Privacy and Security

  • Local Extraction: The sniffing and extraction process is executed entirely locally in your browser.
  • Request timing: The selection or copy notice does not make API verification requests. After you confirm opening the panel with a complete URL and key, the panel may fetch models. Tests send requests to the configured Base URL.
  • Credential storage: Extracted keys are persisted only when you choose to save them to the API Credential Library.

Related Documents

  • API Credential Library: Manage saved sniffing results.
  • Interface Verification and Health Status: Learn how the extension verifies interfaces.
Last Updated: 10/24/26, 6:31 PM
Contributors: anime, github-actions[bot], qixing-jk
Prev
Redemption Assist
Next
Cloudflare Shield Bypass Assistant