Agora Docs
HomeMerchantsDevelopers
  • Introduction
  • Customers
    • Overview
    • Guides
      • How to create an account
      • How to create a product list
      • How does Agora personalize your experience?
      • How to change the categories of products that appear on my Home page
      • How does Agora ensure products are authentic?
      • How to report a fake product
      • What is the Agora Product Score?
      • Who is Athena?
      • How to chat with Athena
      • Can I search for stores or brands on Agora?
      • How to cancel your order
      • When can I get a refund?
      • What are Agora Credits?
      • How to use Agora Credits
      • What are Sponsored products?
      • Supported countries for Add To Cart
      • What are Popular Products?
      • What is the camera icon on the search bar?
      • What is Image Search?
      • How to search by location
      • How to search by URL
      • What are Product Pros and Cons?
      • Dark mode on Agora
      • Agora out of stock policy
      • How to return a product
      • Agora refund and return policy
      • Delivery Guarantee
      • Privacy
      • Secure payments
    • Compliance
  • Merchants
    • Overview
    • Guides
      • Home page docs
      • Products page docs
      • Subscription page docs
      • Tools page docs
      • Team page docs
      • Settings page docs
      • How to create a merchant account
      • How to upload products
      • How to check if your store is on Agora
      • How is click-through rate defined on Agora?
      • What are product opens on Agora?
      • How to upload your products from Squarespace
      • How to retrieve your Squarespace API Key
      • How to upload your products from Wix
      • How to retrieve your Wix API Key
      • How to track your store performance
      • How to track product-specific performance
      • How to track product reviews
      • How to edit product names and descriptions
      • How to add keywords to your products
      • How to select a Subscription plan
      • Why upgrade to a Subscription plan
      • How is Agora different from Google advertising?
      • How to upgrade my Subscription plan
      • How to downgrade my Subscription plan
      • How to cancel my Subscription
      • How to delete my merchant account
      • How to add a payment method
      • When do I get billed?
      • What is a Verified Product?
      • How to Verify a product
      • What is a Boosted Product?
      • How to Boost a product
      • How long will a product be Boosted for?
      • How to delete a product
      • How to change my profile information
      • How to customize my storefront on Agora
      • How to invite team members
      • How to submit feedback
      • How to download an invoice
      • What is an Enterprise plan?
      • What is the cost of an Enterprise plan?
      • How do I improve my Agora Product's Scores?
      • How to update your store on Agora
      • How to track your Orders on Agora
      • How to track your customers on Agora
      • How to track your abandoned carts on Agora
      • How to buy an annual Subscription
      • How to integrate Agora with other tools
      • How to re-order your products on your Agora store page
    • Fake Products Policy
    • Dropshipping policy
    • Reseller policy
    • Low-Quality Products Policy
    • User Protection Policy
    • Compliance
    • Shipping
  • API
    • Get started
    • Test the API
    • Authentication
    • Payment encryption
    • Rate limiting
    • Endpoints
      • Base URL
      • Text search trial
      • Refresh token
      • Text search
      • URL search
      • Image search
      • Detect objects
      • Location search
      • Store search
      • Brand search
      • Product detail
      • Get products by store
      • Get products by brand
      • Create cart
      • Add to cart
      • Get a cart
      • Create an order
      • Track an order
  • Support
Powered by GitBook
On this page

Was this helpful?

  1. API
  2. Endpoints

Location search

POST /store-location

This endpoint lets you to search for stores based on location.

Headers

Header
Type
Description

Authorization

string

Bearer token

Request body

{
  "city":"New York City",
  "state":"New York",
}

Response

{
 "status": "success",
 "data": [{
 "createdAt": "2024-06-06T09:53:04.959Z",
            "updatedAt": "2025-01-07T07:18:47.738Z",
            "__v": 1,
            "city": "New York",
            "country": "US",
            "state": "New York",
            "deletedProducts": [],
            "latitude": 40.7127753,
            "longitude": -74.0059728,
        "name": "Kylie Cosmetics",
            "storeType": "shopify",
            "storeUrl": "https:kyliecosmetics.com",
            "isScrapped": true,
            "creator": "653635e3ac59b9ce433479f9",
            "brandsAvailable": [
                "66618700c13eedbcd4ae9f19",
                "66618700c13eedbcd4ae9f1d",
                "66618700c13eedbcd4ae9f21",
                "66618700c13eedbcd4ae9f25",
                "66618700c13eedbcd4ae9f29",
                "66618700c13eedbcd4ae9f2d"
            ],
            "_id": "66618700c13eedbcd4ae9f16",
  "products": [
                {
                    "_id": "670506ded181415398ae5d72",
                    "name": "Wisp Lash Kylie Jenner Mascara Mini Sample",
                    "description": "No Description",
                    "brand": "kylie-samples",
                    "country": "US",
                    "currency": "USD",
                    "storeName": "Kylie Cosmetics",
                    "keywords": [],
                    "slug”: “wisp-lash-kylie-jenner-mascara-mini-sample-1ml-142eb014-f02f-4382-a371-5656f978a0ce-1728382686735",
                    "variants": [],
                    "price": 0.5,
                    "tags": [
                        "_free_sample",
                        "nosto_exclude"
                    ],
                    "externalProductId": “8096711901426”,
                    "published_at": "2024-10-04T00:05:02.000Z",
                    "last_updated": "2024-10-08T10:18:02.000Z",
                    "verifiedAt": "2024-10-08T10:18:06.735Z",
                    "isVerified": false,
                    "isBoosted": false,
                    "source": "shopify",
                    "images": [
                        "https://cdn.shopify.com/s/files/1/0662/4598/4498/files/KJC_WLM_23_1ml_Stylized.jpg?v=1719262810",
                        "https://cdn.shopify.com/s/files/1/0662/4598/4498/files/KJC_WLM_24_Mascara_Swatch.jpg?v=1719262810"
                    ],
                    "url": "https://kyliecosmetics.com/products/wisp-lash-kylie-jenner-mascara-mini-sample-1ml",
                    "isActive": true,
                    "creator": "653635e3ac59b9ce433479f9",
                    "createdAt": "2024-10-08T10:19:53.438Z",
                    "updatedAt": "2025-01-02T01:16:27.640Z",
                    "agoraScore": 78,
                    "__v": 2,
                    "available": true,
                    "categories": [],
                    "cons": [
                        "The 1ml size is very small and will need frequent replacement if used as a primary mascara"
                    ],
                    "priceHistory": [
                        {
                            "price": 0.5,
                            "date": "2024-10-08T10:19:53.438Z",
                            "_id": "6744e689dfeaea437b33c4e2"
                        }
                    ],
                    "pros": [
                        "The mini size makes it perfect for travel and trying the product",
                        "Creates natural-looking, lengthened lashes",
                        "The formula is buildable without clumping",
                        "Precisely designed brush helps separate and define each lash",
                        "Smudge-resistant formula stays in place throughout the day",
                        "More affordable entry point to try the Kylie Cosmetics mascara line",
                        "The packaging is sleek and compact"
                    ],
                    "storeOrder": 0,
                    "averageRating": 4.2,
                    "discount": 0,
                    "discountPercentage": 0,
                    "discountVal": 0
}]
}
{
 "status": "error",
 "data": "Please provide a valid state or city"
}
PreviousDetect objectsNextStore search

Last updated 1 day ago

Was this helpful?