---
title: "Proposals queries all proposals based on given status."
method: GET
path: "/cosmos/gov/v1/proposals"
tags: ["Query"]
---

# Proposals queries all proposals based on given status.

`GET /cosmos/gov/v1/proposals`

## Query parameters

- `proposal_status` 'PROPOSAL_STATUS_UNSPECIFIED' | 'PROPOSAL_STATUS_DEPOSIT_PERIOD' | 'PROPOSAL_STATUS_VOTING_PERIOD' | 'PROPOSAL_STATUS_PASSED' | 'PROPOSAL_STATUS_REJECTED' | 'PROPOSAL_STATUS_FAILED'
- `voter` string
- `depositor` string
- `pagination.key` string, byte
- `pagination.offset` string, uint64
- `pagination.limit` string, uint64
- `pagination.count_total` boolean
- `pagination.reverse` boolean

## Response `200`

A successful response.

- CosmosGovV1QueryProposalsResponse — QueryProposalsResponse is the response type for the Query/Proposals RPC method.
  - `proposals` CosmosGovV1Proposal[] — proposals defines all the requested governance proposals.
    - `id` string, uint64 — id defines the unique id of the proposal.
    - `messages` GoogleProtobufAny[] — messages are the arbitrary messages to be executed if the proposal passes.
      - `@type` string — A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics.
    - `status` 'PROPOSAL_STATUS_UNSPECIFIED' | 'PROPOSAL_STATUS_DEPOSIT_PERIOD' | 'PROPOSAL_STATUS_VOTING_PERIOD' | 'PROPOSAL_STATUS_PASSED' | 'PROPOSAL_STATUS_REJECTED' | 'PROPOSAL_STATUS_FAILED' — ProposalStatus enumerates the valid statuses of a proposal. - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status. - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit period. - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting period. - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has passed. - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has been rejected. - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has failed.
    - `final_tally_result` CosmosGovV1TallyResult — TallyResult defines a standard tally for a governance proposal.
      - `yes_count` string — yes_count is the number of yes votes on a proposal.
      - `abstain_count` string — abstain_count is the number of abstain votes on a proposal.
      - `no_count` string — no_count is the number of no votes on a proposal.
      - `no_with_veto_count` string — no_with_veto_count is the number of no with veto votes on a proposal.
    - `submit_time` string, date-time — submit_time is the time of proposal submission.
    - `deposit_end_time` string, date-time — deposit_end_time is the end time for deposition.
    - `total_deposit` CosmosBaseV1beta1Coin[] — total_deposit is the total deposit on the proposal.
      - `denom` string
      - `amount` string
    - `voting_start_time` string, date-time — voting_start_time is the starting time to vote on a proposal.
    - `voting_end_time` string, date-time — voting_end_time is the end time of voting on a proposal.
    - `metadata` string
    - `title` string — Since: cosmos-sdk 0.47
    - `summary` string — Since: cosmos-sdk 0.47
    - `proposer` string — Since: cosmos-sdk 0.47
    - `expedited` boolean — Since: cosmos-sdk 0.50
    - `failed_reason` string — Since: cosmos-sdk 0.50
  - `pagination` CosmosBaseQueryV1beta1PageResponse — PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; }
    - `next_key` string, byte — next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
    - `total` string, uint64

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/coreumfoundation/apis/title-goes-here.md) · [All operations](https://skmtc.net/coreumfoundation/apis/title-goes-here/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coreumfoundation/title-goes-here/revisions/2a2e5bc4593a/schema)
