Skip to main content
POST
Answers

Request contract

  • Method and path: POST /apis/v1/stackexchange-com/questions/answers
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/stackexchange-com/questions/answers
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
question_id
number
required

question_id

include_body
boolean

include_body

key
string

Optional Stack Exchange application key. Raises the per-IP quota from 300 to 10,000 requests per day and unlocks pages above 25, which the API refuses anonymously. Keys are public identifiers, not secrets.

order
string
default:desc

order

Provider reference: allowed values ["desc", "asc"]; default "desc".

page
number
default:1

Pages above 25 need key: Stack Exchange serves deeper pages only with an application key (access_denied otherwise). Without one the last page reports partial coverage.

Provider reference: minimum 1; maximum 10000; default 1.

pagesize
number
default:30

pagesize

Provider reference: minimum 1; maximum 100; default 30.

site
string
default:stackoverflow

Stack Exchange site API parameter, e.g. stackoverflow, superuser, math, askubuntu, english, physics. Use sites to list them. Pattern: ^[a-z0-9]+(.[a-z0-9]+)*$.

Provider reference: default "stackoverflow".

sort
string
default:votes

sort

Provider reference: allowed values ["votes", "activity", "creation"]; default "votes".

url
string

HTTPS question URL on any Stack Exchange site, e.g. https://stackoverflow.com/questions/3940128/... or https://math.stackexchange.com/q/11. The site is derived from the host.

Response

Answers to one question (by question_id + site or URL), one page per call, sorted by votes, activity or creation. Each answer carries is_accepted, score, bodies, owner and its canonical URL.

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.