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

# Get page transparency info

<div className="inline-flex items-center gap-2 px-4 py-2 bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg">
  <span className="text-base">🪙</span>
  <span className="text-sm font-medium text-yellow-900 dark:text-yellow-100"><span className="font-semibold">4 credits</span><span className="text-yellow-700 dark:text-yellow-300 ml-1">per request</span></span>
</div>

## Copy for AI

<div className="my-6 rounded-xl border border-gray-200 bg-gray-50 p-5 dark:border-gray-800 dark:bg-gray-900/40">
  <div className="min-w-0">
    <p className="text-base font-semibold text-gray-900 dark:text-gray-100">🤖 Why Code When AI Can Do It For You?</p>
    <p className="mt-1 text-sm text-gray-700 dark:text-gray-300">Stop writing code like it's 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.</p>
  </div>

  <div className="mt-4">
    <button
      type="button"
      className="inline-flex items-center gap-2 rounded-md border border-emerald-300 bg-emerald-50 px-3 py-2 text-sm font-medium text-emerald-800 hover:bg-emerald-100 dark:border-emerald-700 dark:bg-emerald-900/30 dark:text-emerald-100 dark:hover:bg-emerald-900/50"
      onClick={() => navigator.clipboard.writeText(`I need to call the following KeyAPI endpoint. Please generate a complete and directly runnable Python example based on the API information provided below.

## API Information

Endpoint: GET https://api.keyapi.ai/v1/facebook/page_transparency
Summary: Get page transparency info

Required Headers:
- Authorization: Bearer <YOUR_API_KEY>

Parameters:
- page_id (Required): No description. Example: 20531316728

## Code Requirements

- Use the Python \`requests\` library
- Provide a complete and directly runnable example
- Handle HTTP request errors, timeouts, and non-2xx responses
- Handle JSON parsing errors
- Prefer the Example values provided in the API information for sample parameters
- Keep the code simple and avoid unnecessary abstractions or complexity`)}
    >
      <span>✨</span>
      <span>Copy for AI</span>
    </button>
  </div>
</div>


## OpenAPI

````yaml /en/facebook.openapi.json get /v1/facebook/page_transparency
openapi: 3.0.1
info:
  title: Facebook API English documentation
  description: >-
    The english reference documentation of the Facebook API includes the
    interface's purpose, parameter description, response status, and sample
    structure.
  version: 1.0.0
servers:
  - url: https://api.keyapi.ai
    description: Production-KeyAPI
security:
  - JWT Bearer: []
tags:
  - name: Pages
  - name: Prefiles
  - name: Groups
  - name: Posts and comments
  - name: Evebts
  - name: Ads Library
  - name: Search
  - name: Marketplace
  - name: Games
paths:
  /v1/facebook/page_transparency:
    get:
      tags:
        - Pages
      summary: Get page transparency info
      parameters:
        - name: page_id
          in: query
          description: ''
          required: true
          example: '20531316728'
          schema:
            type: string
            example: '20531316728'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                code: 0
                message: success
                data:
                  results:
                    id: '20531316728'
                    is_viewer_admin: false
                    page_type_name_for_content: PAGE
                    pages_transparency_info:
                      enabled_features:
                        - ADMIN_LOCATIONS
                        - PAGE_CREATION_DATE
                        - PAGE_NAME_CHANGES
                        - PAGE_ORGANIZATIONS
                        - STATE_MEDIA_LABELS
                      is_person_profile: true
                      is_profile_action_report: false
                      linked_profile_id: '100064860875397'
                      should_use_page_rename: true
                      transparency_title: Page transparency
                      genai_chatbot_disclosure: null
                      id: dHJhbnNwYXJlbmN5OjIwNTMxMzE2NzI4
                      admin_locations:
                        admin_country_counts:
                          - count: 12
                            country:
                              iso_name: United States
                              id: '109078688522'
                          - count: 5
                            country:
                              iso_name: United Kingdom
                              id: '112449756806'
                        num_opt_out: 0
                        num_unknown: 0
                      has_active_ads: true
                      has_run_political_ads: true
                      page_id_for_admin: null
                      state_media_country_label: null
                      history_items:
                        - item_type: NAME_CHANGE
                          event_time: 1654275614
                          target_name: Facebook
                        - item_type: NAME_CHANGE
                          event_time: 1582839171
                          target_name: Facebook App
                        - item_type: NAME_CHANGE
                          event_time: 1582656314
                          target_name: Facebook app
                        - item_type: NAME_CHANGE
                          event_time: 1573577631
                          target_name: Facebook
                        - item_type: NAME_CHANGE
                          event_time: 1573575853
                          target_name: Facebook app
                        - item_type: CREATION
                          event_time: 1194475892
                          target_name: Facebook
                    name: Facebook
                    profile_picture:
                      uri: >-
                        https://scontent.fdxb1-1.fna.fbcdn.net/v/t39.30808-1/380700650_10162533193146729_2379134611963304810_n.jpg?stp=dst-jpg_tt6&cstp=mx2048x2048&ctp=s120x120&_nc_cat=1&ccb=1-7&_nc_sid=11a88f&_nc_ohc=v825A_xemiwQ7kNvwHakibw&_nc_oc=Adoc9XmRGA35kL3yFOog4P9CA0QHv0PX_RgSl1jiHbk1uUr8bpOg_sLwJxliYPV0ow4&_nc_zt=24&_nc_ht=scontent.fdxb1-1.fna&_nc_gid=neIF-1pHM4cazQ62KTI0PQ&_nc_ss=7d289&oh=00_AQL3AwQ9gSewVcXFI1KI1iddPYSvB4jqXR95cH8CuTqfGA&oe=6AB8080E
                    profile_plus_for_delegate_page:
                      category_text: Internet company
                      id: '100064860875397'
                    verification_status: BLUE_VERIFIED
                    confirmed_page_owner_consumer:
                      name: null
                      information: null
                      type: NONE
                      id: null
                    confirmed_page_partner_names: []
                    page_transparency_settings_uri: /20531316728/settings/?tab=page_transparency
                    should_show_responsible_for_org_content: true
                requestId: 0860e1ed-ece3-4890-b1bc-4b19a604c70b
          headers: {}
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '402':
          $ref: '#/components/responses/402'
        '429':
          $ref: '#/components/responses/429'
        '500':
          $ref: '#/components/responses/500'
      deprecated: false
      security:
        - JWT Bearer: []
components:
  responses:
    '400':
      description: Bad Request
      content:
        application/json:
          schema:
            type: object
            example:
              code: 400
              data: null
              message: 'Missing required parameter: handle'
    '401':
      description: Unauthorized
      content:
        application/json:
          schema:
            type: object
            example:
              code: 401
              data: null
              message: apiKey is null
    '402':
      description: Payment Required
      content:
        application/json:
          schema:
            type: object
            example:
              code: 402
              data: null
              message: apiKey quota is not enough
    '429':
      description: Too Many Requests
      content:
        application/json:
          schema:
            type: object
            example:
              code: 429
              data: null
              message: qps limit exceeded
    '500':
      description: Internal Server Error
      content:
        application/json:
          schema:
            type: object
            example:
              code: 500
              data: null
              message: Internal server error
  securitySchemes:
    JWT Bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |-
        API key for authentication. Format: `sk_live_xxxxxxxxxxxxx`
        Get your API key from the [Dashboard](http://keyapi.ai/app/dashboard).

````