---
title: "Search | Stripe Documentation"
description: "!https://stripe.com/docs/search#search-query-language"
date: 2023-12-07
published: true
tags:
  - dev
  - stripe
  - thought
  - webdev
template: link
---


<div class="embed-card embed-card-external">
  <a href="https://stripe.com/docs/search#search-query-language" class="embed-card-link" target="_blank" rel="noopener noreferrer">
    <div class="embed-card-image">
      <img src="https://d37ugbyn3rpeym.cloudfront.net/docs/og-image/search.ogimage.png" alt="Search — Use the search APIs to look up and retrieve objects in your Stripe data. Using search is a faster alternative to paginating through all resources." loading="lazy">
    </div>
    <div class="embed-card-content">
      <div class="embed-card-title">Search</div>
      <div class="embed-card-description">Use the search APIs to look up and retrieve objects in your Stripe data. Using search is a faster alternative to paginating through all resources.</div>
      <div class="embed-card-meta">stripe.com</div>
    </div>
  </a>
</div>


Stripe has it's own query language for querying data.  I'm just getting into using it and it seems pretty good so far.  I needed to lookup the price for products.  I was able to find prices for my product using the python api as shown below.

``` python
stripe.Price.search(query="active: 'true' and product: 'prod_P8SfwtxJ45cWE2'")
```
