Skip to main content
POST
Answer

Request contract

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

answer_id

answer_ids
number[]

answer_ids

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.

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".

url
string

HTTPS answer URL on any Stack Exchange site: /a/<answer_id> (share link) or /questions/<question_id>//<answer_id>. The site is derived from the host; an explicit site must match it.

Response

One answer by answer_id or answer url, or up to 100 answers by answer_ids, on one site. Returns the full answer records (bodies, score, is_accepted, owner). Ids that do not exist are simply absent from the result.

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.