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

# Read Metric Revision Trends

> Requires paid access.



## OpenAPI

````yaml /openapi.json get /v1/companies/{company_id}/estimates/{metric_key}/revision-trends
openapi: 3.1.0
info:
  title: Rangler API
  version: 1.0.0
  description: >-
    Customer-facing Rangler API for companies, standardized financials, filings,
    funds, market data, events, and webhooks.
servers:
  - url: https://api.rangler.co
    description: Live
  - url: https://sandbox-api.rangler.co
    description: Sandbox
security: []
tags:
  - name: Analyst estimates
    description: Consensus forecasts, revisions, contributor accuracy, and source evidence.
  - name: Analyst recommendations
    description: Analyst ratings, target-price views, and company recommendation history.
  - name: Calendar
    description: Company events and calendar exports.
  - name: Companies
    description: >-
      Company lookup, issuer details, dividends, daily trades, meeting media,
      and mentions.
  - name: Events
    description: >-
      Read earlier events and check for missed deliveries across the market, a
      company, or a fund.
  - name: Financials
    description: >-
      Standardized financial statements, reported tables, ratios, and links to
      filing sources.
  - name: Filings
    description: Filings, board changes, insider dealings, and extracted filing mentions.
  - name: Funds
    description: Fund directories, disclosures, snapshots, holdings, and performance data.
  - name: Markets
    description: Market directories and regular-session clock data.
  - name: News
    description: Company news developments and company-filtered news search.
paths:
  /v1/companies/{company_id}/estimates/{metric_key}/revision-trends:
    get:
      tags:
        - Analyst estimates
      summary: Read Metric Revision Trends
      description: Requires paid access.
      operationId: get_v1_companies_company_id_estimates_metric_key_revision-trends
      parameters:
        - name: company_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Company Id
        - name: metric_key
          in: path
          required: true
          schema:
            type: string
            title: Metric Key
        - name: display_currency
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Display Currency
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetricRevisionTrendsRead'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
              examples:
                default:
                  value:
                    error:
                      type: unauthorized
                      code: unauthorized
                      message: Authentication required.
                      request_id: 28fa6152-7081-492e-8a7e-00beb237b689
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
              examples:
                default:
                  value:
                    error:
                      type: forbidden
                      code: forbidden
                      message: Paid access is required.
                      request_id: 5c253b3e-778e-4a58-aaf8-07cb21e03563
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
              examples:
                default:
                  value:
                    error:
                      type: not_found
                      code: not_found
                      message: Company not found
                      request_id: 9f5237bc-7d8c-4a9d-9c1f-fbd4ef236cf9
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
              examples:
                default:
                  value:
                    error:
                      type: validation_error
                      code: validation_error
                      message: Request validation failed
                      request_id: c5964dca-d290-4465-a3dc-f92d42aa9b17
                      details:
                        - type: missing
                          loc:
                            - query
                            - ticker
                          msg: Field required
                          input: null
        '429':
          description: Too Many Requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
              examples:
                default:
                  value:
                    error:
                      type: rate_limit_exceeded
                      code: rate_limit_exceeded
                      message: Rate limit exceeded
                      request_id: cc4d369a-2c69-4ee2-909e-985ea35d14a9
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
              examples:
                default:
                  value:
                    error:
                      type: internal_server_error
                      code: internal_server_error
                      message: Internal Server Error
                      request_id: 70b63aba-b8a3-41c2-bb0c-fbe67d84d37d
      security:
        - RanglerApiKey: []
components:
  schemas:
    MetricRevisionTrendsRead:
      properties:
        metric_key:
          type: string
          title: Metric Key
        series:
          items:
            $ref: '#/components/schemas/RevisionTrendSeriesRead'
          type: array
          title: Series
          default: []
      type: object
      required:
        - metric_key
      title: MetricRevisionTrendsRead
    ErrorEnvelope:
      type: object
      required:
        - error
      properties:
        error:
          $ref: '#/components/schemas/ErrorObject'
    RevisionTrendSeriesRead:
      properties:
        fiscal_year:
          type: integer
          title: Fiscal Year
        contributor_kind:
          type: string
          title: Contributor Kind
        points:
          items:
            $ref: '#/components/schemas/RevisionTrendPointRead'
          type: array
          title: Points
          default: []
      type: object
      required:
        - fiscal_year
        - contributor_kind
      title: RevisionTrendSeriesRead
    ErrorObject:
      type: object
      required:
        - type
        - code
        - message
        - request_id
      properties:
        type:
          type: string
        code:
          type: string
        message:
          type: string
        request_id:
          type: string
        details:
          anyOf:
            - additionalProperties: true
              type: object
            - type: array
              items:
                additionalProperties: true
                type: object
            - type: 'null'
    RevisionTrendPointRead:
      properties:
        as_of_at:
          type: string
          format: date-time
          title: As Of At
        contributor_count:
          type: integer
          title: Contributor Count
        mean:
          anyOf:
            - type: number
            - type: 'null'
          title: Mean
        median:
          anyOf:
            - type: number
            - type: 'null'
          title: Median
        high:
          anyOf:
            - type: number
            - type: 'null'
          title: High
        low:
          anyOf:
            - type: number
            - type: 'null'
          title: Low
        source:
          $ref: '#/components/schemas/RevisionTrendSourceRead'
      type: object
      required:
        - as_of_at
        - contributor_count
        - source
      title: RevisionTrendPointRead
    RevisionTrendSourceRead:
      properties:
        event_type:
          type: string
          enum:
            - revision
            - withdrawal
          title: Event Type
        estimate_id:
          type: string
          format: uuid
          title: Estimate Id
        contributor_key:
          type: string
          title: Contributor Key
        contributor_display_name:
          type: string
          title: Contributor Display Name
        contributor_kind:
          type: string
          title: Contributor Kind
        reported_value:
          type: number
          title: Reported Value
        reported_currency:
          anyOf:
            - type: string
            - type: 'null'
          title: Reported Currency
        unit:
          type: string
          title: Unit
        value_scale:
          anyOf:
            - type: string
            - type: 'null'
          title: Value Scale
        research_report_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Research Report Id
        source_page_number:
          anyOf:
            - type: integer
            - type: 'null'
          title: Source Page Number
        source_excerpt:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Excerpt
        contributor_note:
          anyOf:
            - type: string
            - type: 'null'
          title: Contributor Note
      type: object
      required:
        - event_type
        - estimate_id
        - contributor_key
        - contributor_display_name
        - contributor_kind
        - reported_value
        - unit
      title: RevisionTrendSourceRead
  securitySchemes:
    RanglerApiKey:
      type: apiKey
      in: header
      name: X-API-Key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.