---
title: "Look up an animal by exact EID without writing"
method: GET
path: "/v1/farm/{farm_id}/animals/lookup-by-eid"
tags: ["animals"]
---

# Look up an animal by exact EID without writing

`GET /v1/farm/{farm_id}/animals/lookup-by-eid`

## Request

- Base URL: `https://api.ranch.bot`
- URL: `https://api.ranch.bot/v1/farm/{farm_id}/animals/lookup-by-eid`
- Auth: HTTP bearer

Read-only exact EID lookup across inventory statuses. Never creates or updates inventory. Missing matches return 404; multiple matching animals return 409. Current animals HTTP operation. External credential scopes: read:animals. Minimum farm role: READER. Production rate limit: 100 requests per 15-minute window per device account, 1000 per browser session, otherwise per client IP. RateLimit headers report the current window; respect Retry-After on 429.

## Path parameters

- `farm_id` string, uuid, required

## Query parameters

- `eid` string, required

## Response `200`

Success

- object
  - `id` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `is_active` boolean, required
  - `farm_id` string, required
  - `metadata` unknown, required
  - `groups` Group[], required
    - `id` string, nullable, required
    - `farm_id` string, nullable, required
    - `description` string, nullable, required
    - `is_active` boolean, nullable, required
    - `name` string, nullable, required
    - `created_at` string, date-time, nullable, required
    - `updated_at` string, date-time, nullable, required
  - `animal_identifiers` AnimalIdentifier[], required
    - `id` string, nullable, required
    - `animal_id` string, nullable, required
    - `is_active` boolean, nullable, required
    - `is_primary` boolean, nullable, required
    - `type` string, nullable, required
    - `value` string, nullable, required
    - `created_at` string, date-time, nullable, required
    - `updated_at` string, date-time, nullable, required
  - `inventory_status` 'CURRENT' | 'UNKNOWN' | 'SOLD' | 'DECEASED' | 'NOT_MANAGED', required
  - `birth_facts` BirthFacts
    - `record` object, nullable, required
      - `record_id` string, required
      - `birth_event_id` string, required
      - `revision` number, required
      - `birth_date` string, required
      - `time_precision` string, nullable, required
      - `dam_id` string, required
      - `sire` BirthFactsSire, required
        - `status` 'unknown' | 'presumed' | 'confirmed', required
        - `animal_id` string, nullable, required
        - `provenance` string, nullable, required
        - `confidence` number, nullable, required
    - `derived` object, required
      - `birth_date` string, nullable, required
      - `time_precision` string, nullable, required
      - `dam_id` string, nullable, required
      - `sire` BirthFactsSire, required
        - `status` 'unknown' | 'presumed' | 'confirmed', required
        - `animal_id` string, nullable, required
        - `provenance` string, nullable, required
        - `confidence` number, nullable, required
    - `profile_birth_date` string, nullable, required
    - `effective_birth_date` string, nullable, required
    - `conflicts` object[], required
      - `independent_birth_date` string, required
      - `recorded_birth_date` string, required
      - `record_id` string, required

## Other responses

- `400`: Request validation failed.
- `401`: Missing/invalid authentication or insufficient farm role.
- `403`: Missing required scope or credential type is disallowed.
- `404`: Resource or active farm membership not found.
- `409`: Multiple active animals match this EID; clarify the animal. No writes performed.
- `429`: Rate limit exceeded. Retry after the indicated delay.
- `500`: Unexpected server failure.

---

[API](https://skmtc.dev/ranch/apis/ranch-bot-http-api.md) · [All operations](https://skmtc.dev/ranch/apis/ranch-bot-http-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ranch/apis/ranch-bot-http-api/revisions/24109d33fa02?raw)
