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

# Foreign Agents (FARA)

> US foreign-influence graph — DOJ FARA registrations linking a US registrant (law/lobby/PR firm) to the foreign principal it represents, resolved to the entity spine. Filter by a resolved `entity` (matches EITHER side of the link), a fuzzy `registrant` or `foreign_principal` name, or a `country`; `adversary_only` restricts to adversary governments and `sanctioned_only` to the killer cross — US firms registered as agents for a **sanctioned** entity (the foreign principal is matched to our screening lists — OFAC SDN / BIS Entity / DoD 1260H / OFAC CMIC / UK — with the specific `fp_sanction_lists` + `fp_sanction_programs`). At least one filter is required. Plan-gated: requires `can_use_gov` (Markets plan and up); non-entitled plans receive 403 PLAN_REQUIRED. US Public Domain (DOJ NSD FARA eFile).



## OpenAPI

````yaml /api-reference/openapi-v2.json get /api/v2/gov/fara
openapi: 3.0.3
info:
  title: GDELT Cloud API v2
  version: 2.0.0
  description: >-
    Clean v2 REST API for generated GDELT Cloud structured Events, clustered
    Stories, linked Entities, summaries, admin1 discovery, significance ranking,
    and paginated article evidence.


    Event significance is a family-scoped weighted blend, renormalized so every
    event family spans a true 0-1: each event's raw total is divided by the
    maximum its own family can reach (Conflict 1.00, CAMEO+ POLITICAL 0.90,
    other CAMEO+ domains 0.65). All events: Goldstein severity 0.25, article
    evidence 0.05, confidence 0.05. Conflict only: fatalities 0.55 (log-scaled
    by body count) and civilian targeting 0.10. CAMEO+ only: magnitude 0.20,
    systemic importance 0.15, propagation potential 0.10, market sensitivity
    0.10. When magnitude is unmeasured its term AND its 0.20 weight are both
    dropped. The four CAMEO+ metrics are rubric scores produced by published
    formulas - ordinal ranking signals, not measurements, probabilities, or
    predicted price moves. goldstein_scale is one canonical public metric,
    populated for Conflict Events and CAMEO+ POLITICAL Events where meaningful.
    Story linked_event_count is a Story-to-Event link aggregate, not a distinct
    Event total.
servers:
  - url: https://gdeltcloud.com
    description: Production
  - url: http://localhost:3000
    description: Local development
security:
  - ApiKeyAuth: []
tags:
  - name: Events
    description: Coded CAMEO+ / conflict events — search, fetch, and summarize.
  - name: Stories
    description: Clustered narratives (stories) and their articles.
  - name: Entities
    description: >-
      People & organizations — resolve a name to an entity, then fetch its
      profile and tone.
  - name: Geography
    description: Admin-1 geography lookups.
  - name: Energy
    description: Global Energy Monitor assets + ownership registry.
  - name: Facilities
    description: >-
      Unified physical-asset directory — GEM energy assets + World Port Index
      ports + Epoch AI data centers on one keyed surface, resolved to spine
      owners. Plan-gated (Analyst plan and up).
  - name: Screening and Reference
    description: >-
      Restricted-party lists, screening, and ownership-chain exposure.
      Plan-gated (`can_use_screening` / `can_use_exposure`).
  - name: China
    description: >-
      China overseas development finance (AidData GCDF). Plan-gated
      (`can_use_china`).
  - name: Media Intelligence
    description: >-
      Entity tone (`can_use_tone`) and Share of Voice (`can_use_share_of_voice`)
      are plan-gated. Social signal remains an admin-only preview.
  - name: Filings
    description: >-
      SEC EDGAR filings, XBRL financials, and AI-extracted relations. Requires a
      plan with SEC filings access (`can_use_filings`) — the Corporate & Supply
      Chain plan and above.
  - name: Macro Finance
    description: >-
      FRED economic time series (catalog, point-in-time observations, releases).
      Plan-gated (`can_use_macro`).
  - name: Maritime
    description: >-
      AIS-derived vessel-flow signals across maritime chokepoints — chokepoint
      transits, last-known vessel positions, carriers, dwell, and AIS-dark gaps.
      Plan-gated (`can_use_maritime`).
  - name: Briefs
    description: Source-backed monitoring briefs.
paths:
  /api/v2/gov/fara:
    get:
      tags:
        - Government
      summary: Foreign Agents (FARA)
      description: >-
        US foreign-influence graph — DOJ FARA registrations linking a US
        registrant (law/lobby/PR firm) to the foreign principal it represents,
        resolved to the entity spine. Filter by a resolved `entity` (matches
        EITHER side of the link), a fuzzy `registrant` or `foreign_principal`
        name, or a `country`; `adversary_only` restricts to adversary
        governments and `sanctioned_only` to the killer cross — US firms
        registered as agents for a **sanctioned** entity (the foreign principal
        is matched to our screening lists — OFAC SDN / BIS Entity / DoD 1260H /
        OFAC CMIC / UK — with the specific `fp_sanction_lists` +
        `fp_sanction_programs`). At least one filter is required. Plan-gated:
        requires `can_use_gov` (Markets plan and up); non-entitled plans receive
        403 PLAN_REQUIRED. US Public Domain (DOJ NSD FARA eFile).
      operationId: get-gov-fara-v2
      parameters:
        - name: entity
          in: query
          required: false
          schema:
            type: string
          description: >-
            A resolved spine entity id (`e_…`). Matches the registrant OR the
            foreign principal side of the link.
          example: e_1a2b3c4d5e6f7a8b
        - name: registrant
          in: query
          required: false
          schema:
            type: string
          description: Fuzzy (case-insensitive) US-registrant name match.
          example: Hogan Lovells
        - name: foreign_principal
          in: query
          required: false
          schema:
            type: string
          description: Fuzzy foreign-principal name match.
          example: Huawei
        - name: country
          in: query
          required: false
          schema:
            type: string
          description: Country/location represented, as published by FARA (upper-case).
          example: RUSSIA
        - name: adversary_only
          in: query
          required: false
          schema:
            type: boolean
          description: Restrict to adversary-government links (RU/CN/IR/KP/SY/CU/VE/BY/MM).
        - name: sanctioned_only
          in: query
          required: false
          schema:
            type: boolean
          description: >-
            Restrict to links whose foreign principal is on a
            sanctions/restricted list.
        - name: active_only
          in: query
          required: false
          schema:
            type: boolean
          description: Restrict to still-active registrations (no termination date).
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 500
            default: 100
          description: >-
            Link rows to return (max 500). Summary aggregates across ALL
            matching links.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GovFaraResponse'
              examples:
                fara:
                  value:
                    query:
                      entity: null
                      registrant: null
                      foreign_principal: null
                      country: null
                      adversary_only: false
                      sanctioned_only: true
                      active_only: false
                      limit: 25
                    summary:
                      links: 73
                      registrants: 68
                      foreign_principals: 57
                      countries: 22
                      adversary_links: 41
                      sanctioned_links: 73
                      active_links: 6
                    links:
                      - registration_number: '6560'
                        registrant_name: Ruder Finn, Inc.
                        registrant_entity_id: e_1a2b3c4d5e6f7a8b
                        foreign_principal: Huawei Technologies Co., Ltd.
                        foreign_principal_entity_id: e_9f8e7d6c5b4a3f2e
                        country: CHINA
                        country_adversary: 1
                        fp_sanctioned: 1
                        fp_sanction_lists:
                          - dod_1260h
                          - csl_bis_entity
                          - csl_ofac_cmic
                        fp_sanction_programs:
                          - 1260H
                          - CMIC-EO13959
                        fp_registration_date: '2024-05-14'
                        fp_termination_date: ''
                        is_active: 1
                        source_url: >-
                          https://efile.fara.gov/ords/fara/f?p=1381:200:::NO:RP,200:P200_REG_NUMBER:6560
                    meta:
                      source: gov.fara_foreign_principals
                      attributions:
                        - source: >-
                            DOJ NSD — FARA eFile (Foreign Agents Registration
                            Act)
                          source_url: https://efile.fara.gov/
                          license: US Public Domain
                          note: >-
                            Foreign Agents Registration Act filings are US
                            public domain (Department of Justice). One row per
                            (US registrant, foreign principal) link.
        '400':
          description: >-
            Missing filter — need one of entity / registrant / foreign_principal
            / country / adversary_only / sanctioned_only.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                error:
                  value:
                    success: false
                    error: >-
                      one of entity= (resolved entity_id), registrant= (fuzzy
                      name), foreign_principal= (fuzzy name), country= (e.g.
                      RUSSIA), adversary_only=true, or sanctioned_only=true is
                      required.
                    code: MISSING_PARAM
        '401':
          description: 'API key required. Include: Authorization: Bearer gdelt_sk_...'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                error:
                  value:
                    success: false
                    error: >-
                      API key required. Include: Authorization: Bearer
                      gdelt_sk_...
                    code: MISSING_API_KEY
        '403':
          description: >-
            The caller's plan does not carry the can_use_gov entitlement
            (Markets plan and up).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                error:
                  value:
                    success: false
                    error: >-
                      Government exposure (federal awards) is not included in
                      your plan. Upgrade at https://gdeltcloud.com/pricing to
                      unlock it.
                    code: PLAN_REQUIRED
        '429':
          description: Rate limit or quota exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                error:
                  value:
                    success: false
                    error: Rate limit or quota exceeded.
                    code: RATE_LIMITED
        '500':
          description: Failed to fetch FARA links.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                error:
                  value:
                    success: false
                    error: Failed to fetch FARA links.
                    code: INTERNAL_ERROR
      security:
        - ApiKeyAuth: []
components:
  schemas:
    GovFaraResponse:
      type: object
      description: >-
        US foreign-influence links (FARA) — US registrants ↔ foreign principals,
        resolved to the entity spine and crossed with our screening lists.
      properties:
        query:
          type: object
          properties:
            entity:
              type: string
              nullable: true
            registrant:
              type: string
              nullable: true
            foreign_principal:
              type: string
              nullable: true
            country:
              type: string
              nullable: true
            adversary_only:
              type: boolean
            sanctioned_only:
              type: boolean
            active_only:
              type: boolean
            limit:
              type: integer
        summary:
          type: object
          properties:
            links:
              type: integer
            registrants:
              type: integer
            foreign_principals:
              type: integer
            countries:
              type: integer
            adversary_links:
              type: integer
            sanctioned_links:
              type: integer
            active_links:
              type: integer
        links:
          type: array
          items:
            type: object
            properties:
              registration_number:
                type: string
              registrant_name:
                type: string
              registrant_entity_id:
                type: string
                description: Resolved spine id of the US registrant; empty when unresolved.
              foreign_principal:
                type: string
              foreign_principal_entity_id:
                type: string
                description: >-
                  Resolved spine id of the foreign principal; empty when
                  unresolved.
              country:
                type: string
              country_adversary:
                type: integer
                description: 1 if the country is in the adversary set.
              fp_sanctioned:
                type: integer
                description: 1 if the foreign principal is on a sanctions/restricted list.
              fp_sanction_lists:
                type: array
                items:
                  type: string
                description: >-
                  Screening list source_keys matched (csl_ofac_sdn /
                  csl_bis_entity / dod_1260h / …).
              fp_sanction_programs:
                type: array
                items:
                  type: string
                description: Sanction programs (RUSSIA-EO14024 / CMIC-EO13959 / 1260H / …).
              fp_registration_date:
                type: string
                description: Foreign-principal registration date; empty when unknown.
              fp_termination_date:
                type: string
                description: Termination date; empty when still active.
              is_active:
                type: integer
                description: 1 if the registration is still active.
              source_url:
                type: string
                description: FARA registrant permalink.
        meta:
          type: object
          properties:
            source:
              type: string
            attributions:
              type: array
              items:
                type: object
                properties:
                  source:
                    type: string
                  source_url:
                    type: string
                  license:
                    type: string
                  note:
                    type: string
            note:
              type: string
              nullable: true
        cross_source:
          nullable: true
          allOf:
            - $ref: '#/components/schemas/GovCrossSource'
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          type: string
        code:
          type: string
        details:
          type: object
          description: >-
            Recoverable validation context when available, such as param,
            invalid_value, accepted_values, nearest_values, and a corrected
            example.
          additionalProperties: true
    GovCrossSource:
      type: object
      description: >-
        Cross-source fusion for the primary resolved entity — its footprint
        beyond this endpoint (foreign-agent status, SEC filer, facilities owned)
        + headline flags. Null when there is no cross-source signal.
      properties:
        entity_id:
          type: string
        federal_awards:
          type: object
          nullable: true
          properties:
            awards:
              type: integer
            total_obligated:
              type: number
        foreign_agent:
          type: object
          nullable: true
          description: This entity AS a US registrant (foreign agent).
          properties:
            registrations:
              type: integer
            foreign_principals:
              type: integer
            sanctioned_principals:
              type: integer
              description: Foreign principals it represents that are on a sanctions list.
            countries:
              type: array
              items:
                type: string
        foreign_principal_of:
          type: object
          nullable: true
          description: >-
            This entity AS a foreign principal — the US firms registered to
            represent it.
          properties:
            us_registrants:
              type: integer
        sec_filer:
          type: boolean
        facilities_owned:
          type: integer
        flags:
          type: array
          items:
            type: string
          description: >-
            Headline cross-flags: federal_contractor_and_foreign_agent,
            foreign_agent_for_sanctioned_entity.
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: gdelt_sk_...
      description: 'GDELT Cloud API key. Send as `Authorization: Bearer gdelt_sk_...`.'

````