> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrape.st/llms.txt
> Use this file to discover all available pages before exploring further.

# Source-Specific Metrics

> Latency metrics for a specific source

Get latency metrics for a specific source.

## Parameters

<ParamField path="source" type="string" required>
  Source type. Valid values: `x`, `discord`, `telegram`
</ParamField>

## Response

<ResponseField name="source" type="string">
  The source queried
</ResponseField>

<ResponseField name="window_hours" type="number">
  Time window in hours (24)
</ResponseField>

<ResponseField name="count" type="object">
  Number of data points
</ResponseField>

<ResponseField name="source_latency_ms" type="object">
  Latency percentiles (P50, P95, P99)
</ResponseField>

<ResponseField name="internal_latency_ms" type="object">
  Internal processing latency percentiles
</ResponseField>

<RequestExample>
  ```bash theme={null}
  curl -X GET https://scrape.st/metrics/x
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "source": "x",
    "window_hours": 24,
    "count": {
      "source": 12500,
      "internal": 12480
    },
    "source_latency_ms": {
      "p50": 420,
      "p95": 1100,
      "p99": 2300
    },
    "internal_latency_ms": {
      "p50": 115,
      "p95": 340,
      "p99": 780
    }
  }
  ```
</ResponseExample>
