💭 Search | Stripe Documentation =============================== !https://stripe.com/docs/search#search-query-language Date: December 6, 2023 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. stripe.com [1] 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'") ``` !!! note This post is a thought [2]. It's a short note that I make about someone else's content online #thoughts [3] References: [1]: https://stripe.com/docs/search#search-query-language [2]: /thoughts/ [3]: /tags/thoughts/