Skip to main content
POST
/
api
/
avvo
/
questions
/
search
/avvo/questions/search
curl --request POST \
  --url https://api.anysite.io/api/avvo/questions/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "keyword": "<string>"
}
'
[
  {
    "@type": "AvvoQuestionSearchResult",
    "id": "<string>",
    "question_title": "<string>",
    "text": "<string>",
    "url": "<string>",
    "asker_location": "<string>",
    "created_at": "<string>",
    "answer_count": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
topic
enum<string>
required

Legal topic to browse (e.g. divorce)

Available options:
animal-law,
asylum,
bankruptcy-and-debt,
business,
business-contracts,
car-accidents,
child-abuse,
child-support,
civil-rights,
criminal-defense,
divorce,
dui,
employment,
family-law,
felony-crime,
general-practice,
immigration,
internet-law,
landlord-tenant-law,
lawsuits-and-disputes,
personal-injury,
probate,
professional-ethics,
real-estate,
residential-property,
sex-crimes,
speeding-tickets,
traffic-tickets,
warrants-and-criminal-charges,
wills-and-estates
count
integer
required

Max number of questions to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
state
enum<string> | null

US state to narrow the questions

Available options:
al,
ak,
az,
ar,
ca,
co,
ct,
de,
dc,
fl,
ga,
hi,
id,
il,
in,
ia,
ks,
ky,
la,
me,
md,
ma,
mi,
mn,
ms,
mo,
mt,
ne,
nv,
nh,
nj,
nm,
ny,
nc,
nd,
oh,
ok,
or,
pa,
ri,
sc,
sd,
tn,
tx,
ut,
vt,
va,
wa,
wv,
wi,
wy
keyword
string | null

Keyword to search within the topic

Response

Successful Response

@type
string
default:AvvoQuestionSearchResult
id
string | null
question_title
string | null
text
string | null
url
string | null
asker_location
string | null
created_at
string | null
answer_count
integer | null