Congressional member photo (JPEG)

Official portrait of a member of Congress as a JPEG, keyed by bioguide ID. Self-hosted mirror of the public-domain congressional portrait collection (450x550), or, for a member that collection does not have yet, the member's portrait from the U.S. Government Publishing Office's Pictorial Directory, the official source that collection is built from (sizes vary; none over 1.5 MB). Pairs with get_member_profile, whose photo_url field points here. All plans, Free included. Each photo counts as 3 calls toward the daily allowance; the Free plan allows 2 photos a day. A member with no portrait in either source returns 404.

get/v1/photos/{bioguideId}

Request

  • Base URL: https://api.keyvex.com
  • URL: https://api.keyvex.com/v1/photos/{bioguideId}
  • Auth: API key in header x-api-key

Path parameters

bioguideIdstring required

Member's bioguide ID, e.g. P000197 (Nancy Pelosi).

Response

JPEG image.

Changes

No recorded changes to this operation across all 1 revision of this API.