Skip to main content
POST
Get Theme Statistics

Headers

Accept
string
default:application/json

e.g. application/json

x-api-key
string

e.g. [Required] Partner specific API key provided by Birdeye for data exchange.

Content-Type
string
default:application/json

Media type of the JSON request body.

Path Parameters

businessNumber
string
required

Account Business Number.

Body

application/json
sourceType
string

Type of source e.g. review [by default] or social.

sources
any[]

Aggregation sources.

timePeriodSelected
string

For all time : all.

startDate
string

Date from which data has to be fetched[MM/DD/YYYY].

endDate
string

Date until which data has to be fetched[MM/DD/YYYY].

competitors
object[]

List of competitors

topThm
number

Count of top Themes to be fetched.

orderBy
string

Order of the result e.g.: "occurrence"[default] or "ztoa" or "atoz"

sentiment
number

-1 = negative sentiment,

Response

OK

id
number

Business Id.

Example:

398331

name
string

Name of Enterprise.

Example:

"Social Stress"

themes
any[]

List of Themes.

occr
number

Occurence.

Example:

3

avgScore
number

Average Score.

Example:

1

pPrct
number

Positive Percentage.

nPrct
number

Negative Percentage.

Example:

0.04717

prct
number

Percentage

Example:

0.006304

pCt
number

Positive Count.

Example:

30707

nCt
number

Negative Count.

Example:

6360

ct
number

Total Count.

Example:

47592

themeStats
object[]

List of Theme details

competitors
object[]

Competitor details.