Squid website screenshot

Squid

Squid is a high-performance caching and forwarding HTTP web proxy used for content caching, access control, and bandwidth management. It supports HTTP, HTTPS, FTP, and other protocols, providing caching proxy features, access control lists, SSL/TLS inspection, and web content filtering for enterprises and internet service providers.

2 APIs 0 Features
Caching ProxyProxyHTTP ProxyWeb CacheAccess ControlContent Filtering

APIs

Squid Cache Manager API

The Squid Cache Manager is a built-in HTTP management interface that exposes internal statistics, cache operations, and runtime configuration via HTTP requests. It provides endp...

Squid Access Control Configuration API

Squid provides extensive access control configuration through its squid.conf file and runtime reload capabilities. The access control system supports ACLs for IP addresses, doma...

Collections

Pricing Plans

Squid Plans Pricing

3 plans

PLANS

Rate Limits

Squid Rate Limits

5 limits

RATE LIMITS

FinOps

Squid Finops

FINOPS

Semantic Vocabularies

Squid Context

28 classes · 4 properties

JSON-LD

API Governance Rules

Squid API Rules

6 rules · 2 errors 4 warnings

SPECTRAL

JSON Structure

Squid Cache Stats Structure

0 properties

JSON STRUCTURE

Example Payloads

Squid Get Cache Info Example

4 fields

EXAMPLE

Resources

🔗
Website
Website
🔗
Documentation
Documentation
👥
GitHubOrganization
GitHubOrganization
📄
ChangeLog
ChangeLog
💬
FAQ
FAQ
🔗
Mailing List
Mailing List
🔗
OpenAPI
OpenAPI
🔗
JSONSchema
JSONSchema
🔗
JSONStructure
JSONStructure
🔗
JSONLDContext
JSONLDContext
🔗
SpectralRules
SpectralRules
🔗
Vocabulary
Vocabulary

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Squid Cache Manager API
  version: 6.x
request:
  auth:
    type: basic
    username: '{{username}}'
    password: '{{password}}'
items:
- info:
    name: Cache Statistics
    type: folder
  items:
  - info:
      name: Get Cache Information
      type: http
    http:
      method: GET
      url: http://localhost:3128/squid-internal-mgr/info
    docs: Returns general information about the Squid process including version, start time, current time, and basic statistics
      about requests served, cache hits, and memory usage.
  - info:
      name: Get Cache Counters
      type: http
    http:
      method: GET
      url: http://localhost:3128/squid-internal-mgr/counters
    docs: Returns detailed performance counters including request counts, cache hit rates, byte counts, DNS statistics, ICP
      statistics, and HTTP status breakdowns.
  - info:
      name: Get 5-Minute Statistics
      type: http
    http:
      method: GET
      url: http://localhost:3128/squid-internal-mgr/5min
    docs: Returns rolling 5-minute averages for cache activity metrics.
  - info:
      name: Get 60-Minute Statistics
      type: http
    http:
      method: GET
      url: http://localhost:3128/squid-internal-mgr/60min
    docs: Returns rolling 60-minute averages for cache activity metrics.
  - info:
      name: Get Cache Utilization
      type: http
    http:
      method: GET
      url: http://localhost:3128/squid-internal-mgr/utilization
    docs: Returns current cache utilization including object count, capacity used, and store capacity statistics.
  - info:
      name: Get Cache Store Digest
      type: http
    http:
      method: GET
      url: http://localhost:3128/squid-internal-mgr/store_digest
    docs: Returns the cache store digest, a compact representation of cached objects used for ICP/HTCP peer communication.
  - info:
      name: List Cached Objects
      type: http
    http:
      method: GET
      url: http://localhost:3128/squid-internal-mgr/objects
      params:
      - name: pattern
        value: ''
        type: query
        description: URL pattern filter (glob)
    docs: Returns a list of objects currently stored in the cache including their URLs, sizes, creation times, and hit counts.
- info:
    name: Memory
    type: folder
  items:
  - info:
      name: Get Memory Usage
      type: http
    http:
      method: GET
      url: http://localhost:3128/squid-internal-mgr/mem
    docs: Returns detailed memory allocation statistics including pool allocations, heap usage, and per-component memory breakdown.
- info:
    name: Connections
    type: folder
  items:
  - info:
      name: Get Active Requests
      type: http
    http:
      method: GET
      url: http://localhost:3128/squid-internal-mgr/active_requests
    docs: Returns a list of all currently active HTTP requests being processed by Squid, including client IP, request method,
      URL, and elapsed time.
  - info:
      name: Get Active Connections
      type: http
    http:
      method: GET
      url: http://localhost:3128/squid-internal-mgr/connections
    docs: Returns all active client and server connections with their state, duration, and bytes transferred.
- info:
    name: Configuration
    type: folder
  items:
  - info:
      name: Get Cache Configuration
      type: http
    http:
      method: GET
      url: http://localhost:3128/squid-internal-mgr/config
    docs: Returns the current Squid configuration (squid.conf) as loaded at startup or last reload. Sensitive values such
      as LDAP passwords are redacted.
  - info:
      name: Get ACL List
      type: http
    http:
      method: GET
      url: http://localhost:3128/squid-internal-mgr/acl_list
    docs: Returns all defined access control lists (ACLs) and their current membership, including IP ranges, domain lists,
      and time specifications.
- info:
    name: Operations
    type: folder
  items:
  - info:
      name: Shutdown Squid
      type: http
    http:
      method: GET
      url: http://localhost:3128/squid-internal-mgr/shutdown
    docs: Initiates a graceful shutdown of the Squid process. Requires authentication and appropriate ACL access.
  - info:
      name: Reconfigure Squid
      type: http
    http:
      method: GET
      url: http://localhost:3128/squid-internal-mgr/reconfigure
    docs: Triggers Squid to reload its configuration file (equivalent to SIGHUP). New configuration takes effect without restarting
      the process.
  - info:
      name: Rotate Log Files
      type: http
    http:
      method: GET
      url: http://localhost:3128/squid-internal-mgr/rotate
    docs: Triggers Squid to rotate its log files (access.log, cache.log, store.log). Equivalent to sending SIGUSR1.
bundled: true