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

# /snapshot/proposals

> Get a Snapshot governance proposal by its id

**Price:** 1 credit

**💡 AI Hint:** Get a single Snapshot off-chain governance proposal by its id (hash). Returns the title, full body text, voting choices, current scores per choice and total, voting type, lifecycle state (active, pending, closed), quorum, the voting strategies used, the space it belongs to, author address, discussion link, vote count, and start/end/created timestamps.

**⚠️ Common errors:** 412: Proposal not found



## OpenAPI

````yaml /openapi-filtered.json post /api/snapshot/proposals
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/snapshot/proposals:
    post:
      tags:
        - /snapshot
      summary: /snapshot/proposals
      description: >-
        Get a Snapshot governance proposal by its id


        **Price:** 1 credit


        **💡 AI Hint:** Get a single Snapshot off-chain governance proposal by
        its id (hash). Returns the title, full body text, voting choices,
        current scores per choice and total, voting type, lifecycle state
        (active, pending, closed), quorum, the voting strategies used, the space
        it belongs to, author address, discussion link, vote count, and
        start/end/created timestamps.


        **⚠️ Common errors:** 412: Proposal not found
      operationId: __api_snapshot_proposals_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SnapshotProposalPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SnapshotProposal'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SnapshotProposalPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          description: Max scrapping execution timeout (in seconds)
          default: 300
        proposal:
          type: string
          minLength: 1
          description: Proposal id (hash)
          examples:
            - >-
              0x3c5d6f9f9b3f0e2c1f4f5e6d7c8b9a0f1e2d3c4b5a6978899aabbccddeeff0011
      type: object
      required:
        - proposal
    SnapshotProposal:
      properties:
        '@type':
          type: string
          default: SnapshotProposal
        id:
          type: string
        ipfs:
          anyOf:
            - type: string
            - type: 'null'
        author:
          anyOf:
            - type: string
            - type: 'null'
        space:
          anyOf:
            - $ref: '#/components/schemas/SnapshotSpaceRef'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
        discussion_url:
          anyOf:
            - type: string
            - type: 'null'
        web_url:
          anyOf:
            - type: string
            - type: 'null'
        app:
          anyOf:
            - type: string
            - type: 'null'
        type:
          anyOf:
            - type: string
            - type: 'null'
        state:
          anyOf:
            - type: string
            - type: 'null'
        privacy:
          anyOf:
            - type: string
            - type: 'null'
        network:
          anyOf:
            - type: string
            - type: 'null'
        symbol:
          anyOf:
            - type: string
            - type: 'null'
        choices:
          items:
            type: string
          type: array
          default: []
        quorum:
          anyOf:
            - type: number
            - type: 'null'
        quorum_type:
          anyOf:
            - type: string
            - type: 'null'
        snapshot_block:
          anyOf:
            - type: string
            - type: 'null'
        scores:
          items:
            type: number
          type: array
          default: []
        scores_by_strategy:
          items: {}
          type: array
          default: []
        scores_total:
          anyOf:
            - type: number
            - type: 'null'
        scores_total_value:
          anyOf:
            - type: number
            - type: 'null'
        vp_value_by_strategy:
          items:
            type: number
          type: array
          default: []
        scores_state:
          anyOf:
            - type: string
            - type: 'null'
        scores_updated_at:
          anyOf:
            - type: integer
            - type: 'null'
        vote_count:
          anyOf:
            - type: integer
            - type: 'null'
        is_flagged:
          anyOf:
            - type: boolean
            - type: 'null'
        strategies:
          items:
            $ref: '#/components/schemas/SnapshotStrategyRef'
          type: array
          default: []
        validation:
          anyOf:
            - $ref: '#/components/schemas/SnapshotSpaceValidation'
            - type: 'null'
        plugins:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
        created_at:
          anyOf:
            - type: integer
            - type: 'null'
        updated_at:
          anyOf:
            - type: integer
            - type: 'null'
        start_at:
          anyOf:
            - type: integer
            - type: 'null'
        end_at:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - id
        - title
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    SnapshotSpaceRef:
      properties:
        '@type':
          type: string
          default: SnapshotSpaceRef
        id:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        network:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
    SnapshotStrategyRef:
      properties:
        '@type':
          type: string
          default: SnapshotStrategyRef
        name:
          type: string
        network:
          anyOf:
            - type: string
            - type: 'null'
        params:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
      type: object
      required:
        - name
    SnapshotSpaceValidation:
      properties:
        '@type':
          type: string
          default: SnapshotSpaceValidation
        name:
          type: string
        params:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
      type: object
      required:
        - name
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````