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

# Telefon-Lookup-Verlauf API

> Rufen Sie den Lookup-Verlauf Ihrer Anwendung bei Didit ab: Telefonnummern, Status und Risiko-Scores. Filtern nach Nummer oder Erstellungszeit.

Die Phone Lookup History API von Didit listet die [Telefonrisikoabfragen](https://docs.didit.me/de/standalone-apis/phone-risk.md) Ihrer Anwendung vom neuesten zum ältesten. Jedes Ergebnis enthält die vollständige Telefonnummer, den Status, das Land, den Leitungstyp, den Risiko-Score und den Erstellungszeitpunkt. Der Risiko-Score ist `null`, wenn er nicht verfügbar ist.

Sie können nach einer exakten `phone_number` oder nach einem Erstellungszeitraum filtern. Der Zeitraum schließt `created_after` ein und `created_before` aus. Um die nächste Seite abzurufen, senden Sie den Wert von `next` als `offset`, bis `next` den Wert `null` hat. `next` und `previous` sind Seitenoffsets wie `"20"` und keine URLs. Die automatische Paginierung eines [Server-SDK](https://docs.didit.me/de/integration/server-sdks/overview.md) kann diesen Offsets nicht folgen, daher müssen Sie dort ebenfalls `offset` selbst übergeben.


## OpenAPI

````yaml de/openapi-25.json GET /v3/phone/lookups/
openapi: 3.0.0
info:
  version: 3.0.0
  title: Didit Verification API
  description: Identity verification API. Authenticate with x-api-key header.
servers:
  - url: https://verification.didit.me
security: []
tags:
  - name: Bank Data
    description: >-
      Bank Link, connections, accounts, balances, transactions, institutions and
      coverage. One-time reads of real banks are open to live applications.
      Ongoing access with real banks is not open yet for live applications: it
      is available for sandbox applications with the Didit Test Bank, and opens
      country by country. Nothing is charged in sandbox. A call made with an API
      key needs a key that can reach Bank data: a full-access key can, and a
      scoped key needs `bank-data` in its scopes (read for reads, write for
      operations that change something). A scoped key without it is refused, and
      the call answers `403 bank_data_access_denied`. The account check is the
      exception: it needs write access to sessions, or full access, and not the
      Bank data scope. Raw bank data (accounts, balances, transactions and the
      change feed) also refuses a request that carries no API key.


      Every refusal under `/v3/bank/` except the account check's has the same
      JSON body (`code`, `message`, `request_id`, `field`, `next_action`,
      `retry_after`). A path that is not an operation, an id that is not a UUID
      or an unknown sub-resource answers `404 not_found` for every method, and
      any unexpected error answers `500 internal_error` with a `request_id`.
      Where Bank data is not available, every operation answers the platform's
      standard `404`, exactly as an unknown route does.
paths:
  /v3/phone/lookups/:
    get:
      tags:
        - Phone
      summary: Lookup history
      description: >-
        List your application's [Phone risk
        lookups](/standalone-apis/phone-risk), newest first. Each result
        includes the full phone number, lookup status and risk score when
        available. Filter by an exact number or creation time. Use `limit` and
        `offset` to page through the results: `next` and `previous` are offsets,
        not URLs, so send `next` as `offset` to read the next page.
      operationId: getPhoneLookups
      parameters:
        - name: phone_number
          in: query
          required: false
          schema:
            type: string
            description: An E.164 number.
            example: '+12025550136'
          description: One number.
        - name: created_after
          in: query
          required: false
          schema:
            type: string
            description: The earliest lookup time, ISO 8601.
            format: date-time
          description: Include lookups created at or after this time.
        - name: created_before
          in: query
          required: false
          schema:
            type: string
            format: date-time
          description: Include lookups created before this time.
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            description: Rows per page.
            minimum: 1
            maximum: 100
            default: 20
            example: 20
          description: 20 by default, 100 at most.
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            description: Rows to skip.
            minimum: 0
          description: >-
            Where the page starts: 0 by default, or the `next` or `previous`
            value of another page.
      responses:
        '200':
          description: A page of matching phone lookups.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhoneLookupList'
              example:
                count: 1
                next: null
                previous: null
                results:
                  - lookup_id: 123e4567-e89b-42d3-a456-426614174001
                    phone_number: '+12025550136'
                    status: Approved
                    country: US
                    line_type: mobile
                    risk_score: 12.5
                    created_at: '2026-11-21T12:00:00Z'
        '400':
          description: '`invalid_filter`: a creation time is invalid.'
        '401':
          description: 'The key is wrong, revoked or expired: `{"detail": ...}`.'
        '403':
          description: >-
            The `x-api-key` header is missing, or the key is scoped and does not
            carry read access to `sessions`: the answer is `{"detail": ...}`.
        '429':
          $ref: '#/components/responses/RateLimitedRead'
      security:
        - ApiKeyAuth: []
      x-codeSamples:
        - lang: curl
          label: curl
          source: >-
            curl -X GET
            'https://verification.didit.me/v3/phone/lookups/?limit=20' \
              -H 'x-api-key: YOUR_API_KEY'
components:
  schemas:
    PhoneLookupList:
      type: object
      properties:
        count:
          type: integer
          description: Rows that match the filters.
          example: 1
        next:
          type: string
          description: >-
            Offset of the next page of lookups, as a string such as `"20"`, or
            null on the last page. It is not a URL: send it as `offset` to read
            that page.
          nullable: true
          example: '20'
          pattern: ^[0-9]+$
        previous:
          type: string
          description: >-
            Offset of the previous page of lookups, as a string such as `"0"`,
            or null on the first page. It is not a URL: send it as `offset` to
            read that page.
          nullable: true
          example: '0'
          pattern: ^[0-9]+$
        results:
          type: array
          items:
            $ref: '#/components/schemas/PhoneLookupSummary'
          description: The rows, newest first.
    PhoneLookupSummary:
      type: object
      description: One result from your application's Phone risk lookup history.
      required:
        - lookup_id
        - phone_number
        - status
        - country
        - line_type
        - risk_score
        - created_at
      properties:
        lookup_id:
          type: string
          format: uuid
          description: Unique identifier for the lookup.
          example: 123e4567-e89b-42d3-a456-426614174001
        phone_number:
          type: string
          description: Full phone number used for the lookup.
          example: '+12025550136'
        status:
          type: string
          description: Status returned by the Phone risk lookup.
          example: Approved
        country:
          type: string
          description: Country code of the number, or an empty string when unknown.
          example: US
        line_type:
          type: string
          description: Line type, or an empty string when unknown.
          example: mobile
        risk_score:
          type: number
          nullable: true
          description: Risk score when available.
          example: 12.5
        created_at:
          type: string
          format: date-time
          description: When the lookup was recorded.
          example: '2026-11-21T12:00:00Z'
    RateLimitBudgetError:
      type: object
      description: >-
        Returned only for a rate-limit middleware budget refusal. Other 429
        errors, including idempotency conflicts and endpoint-specific caps, do
        not promise these metadata fields.
      required:
        - detail
        - reference
        - limit
        - remaining
        - reset
        - window_seconds
      properties:
        detail:
          type: string
          description: Existing human-readable budget refusal message.
        reference:
          type: string
          pattern: ^RL-[0-9a-f]{32}$
          description: >-
            Opaque support reference: RL- followed by 32 lowercase UUID
            hexadecimal characters.
        limit:
          type: integer
          description: Budget for the exceeded scope; equals X-RateLimit-Limit.
        remaining:
          type: integer
          minimum: 0
          description: Remaining budget, clamped to zero; equals X-RateLimit-Remaining.
        reset:
          type: integer
          format: int64
          description: Window reset time in Unix seconds; equals X-RateLimit-Reset.
        window_seconds:
          type: integer
          description: >-
            Fixed-window duration in seconds, not the remaining wait. Honor
            Retry-After before retrying.
      example:
        detail: >-
          Write request rate limit exceeded. You can make up to 300 requests per
          minute.
        reference: RL-00000000000040008000000000000001
        limit: 300
        remaining: 0
        reset: 1794358860
        window_seconds: 60
  responses:
    RateLimitedRead:
      description: Middleware read budget exceeded. Honor Retry-After before retrying.
      headers:
        Retry-After:
          $ref: '#/components/headers/BudgetRetryAfter'
        X-RateLimit-Scope:
          $ref: '#/components/headers/BudgetXRateLimitScope'
        X-RateLimit-Limit:
          $ref: '#/components/headers/BudgetXRateLimitLimit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/BudgetXRateLimitRemaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/BudgetXRateLimitReset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/RateLimitBudgetError'
          example:
            detail: >-
              GET request rate limit exceeded. You can make up to 600 requests
              per minute.
            reference: RL-00000000000040008000000000000001
            limit: 600
            remaining: 0
            reset: 1794358860
            window_seconds: 60
  headers:
    BudgetRetryAfter:
      description: >-
        Seconds to wait, rounded up to the next window. Present on middleware
        budget refusals.
      schema:
        type: integer
    BudgetXRateLimitScope:
      description: >-
        The scope whose budget was exceeded. Present on middleware budget
        refusals.
      schema:
        type: string
    BudgetXRateLimitLimit:
      description: >-
        Budget for the exceeded scope; equals body limit. Present on middleware
        budget refusals.
      schema:
        type: integer
    BudgetXRateLimitRemaining:
      description: >-
        Remaining budget, clamped to zero; equals body remaining. Present on
        middleware budget refusals.
      schema:
        type: integer
    BudgetXRateLimitReset:
      description: >-
        Reset time in Unix seconds; equals body reset. Present on middleware
        budget refusals.
      schema:
        type: integer
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Your application's API key, from Developers -> API keys in the Business
        Console. The primary key has full access. A named key can be scoped:
        none, read or write per resource, limited to some workflows or to
        approved sessions, to a list of IP addresses, and to an expiry date. 401
        means the key is wrong, revoked or expired; 403 means no key was sent,
        the key has no access to this resource or action, or the request came
        from an address outside its IP list; 404 on a session route means the
        session is outside the key's workflows or statuses. A key without media
        access receives image, video and PDF URLs as null, and a key without
        sessions write receives session links and tokens as null. See
        https://docs.didit.me/console/api-keys.

````

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