WooCommerce API — Store Profile & Currency
Documentation menu
FetchLayer FetchLayer API

Get a store's details

Read a WooCommerce store's own details: its name and description, the currency and symbol it prices in, its locale, its logo, the social profiles the storefront advertises, and the product and category counts it reports. The cheapest way to qualify a store before pulling its catalog.

POST /store-profile Store
https://api.fetchlayer.dev/woocommerce-stores/store-profile
OpenAPI JSON

Headers

Authorization string required

Bearer token — your FetchLayer API key.

Parameters

store string required

Store domain, for example example.com, or any URL on the store. 3–255 characters.

dataSource string optional

Pin the read to one published source: catalog-api, content-api or product-pages. catalog-api carries every field, content-api carries no prices, SKUs or stock, and product-pages carries no attributes or variations and is far more expensive to read. (default: the most complete source the store offers)

timeoutMs number optional

Per-request time limit in milliseconds (max 600000).

Response Fields

store-profile

Get a store's details

requestedUrl string

The store this result corresponds to.

scrapedAt string

ISO 8601 timestamp of the read.

blocked boolean

Always false on a successful response.

notes string[]

Caveats about this particular result — a truncated walk, an upstream limit, a field this store does not publish. Read it: a short result set is usually explained here rather than by an error.

store object

The resolved store: canonical domain and the store's own base URL.

profile.name string | null

The store name.

profile.description string | null

The tagline or description the storefront publishes.

profile.currency string | null

ISO 4217 code, for example USD.

profile.currencySymbol string | null

The symbol the store displays prices with.

profile.locale string | null

The storefront's locale.

profile.productCount number | null

Products the store reports holding.

profile.categoryCount number | null

Categories the store reports holding.

profile.logoUrl string | null

The store logo.

profile.socialLinks string[]

Social profile URLs the storefront advertises.

profile.storeVersion string | null

Null unless the store publishes it.

profile.dataSource string

Which published source this profile came from.

Request

curl -X POST "https://api.fetchlayer.dev/woocommerce-stores/store-profile" \
  -H "Authorization: Bearer ss-your-key" \
  -H "Content-Type: application/json" \
  -d '{"store":"example-shop.com"}'

Response

{
  "profile": {
    "name": "Example Shop",
    "currency": "USD",
    "currencySymbol": "$",
    "locale": "en-US",
    "productCount": 412,
    "categoryCount": 24,
    "socialLinks": [
      "https://instagram.com/exampleshop"
    ],
    "dataSource": "catalog-api"
  },
  "notes": []
}