Skip to main content
POST
Panel

Request contract

  • Method and path: POST /apis/v1/worldhappiness-report/happiness/panel
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/worldhappiness-report/happiness/panel
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
countries
string[]
required

ISO 3166-1 alpha-3 codes (XKX Kosovo, TWN Taiwan, HKG Hong Kong).

edition
number

Optional pin; must equal the dashboard's current vintage (latest data year + 1) or the call fails with not_found.

Provider reference: minimum 2013; maximum 2031.

variables
string[]

Subset of variables to include; life_ladder is always included. Omit for all.

year_from
number

year_from

Provider reference: minimum 2005; maximum 2030.

year_to
number

year_to

Provider reference: minimum 2005; maximum 2030.

Response

Gallup World Poll country-year panel for up to 10 countries (ISO3) from the dashboard country view: annual life ladder, three-year average, GDP per capita, social support, healthy life expectancy, freedom, generosity, corruption, positive/negative affect, benevolence and inequality, 2005 onwards. Only the current vintage is served; edition, if given, must match it.

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.