> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /avvo/questions/search

> Search Avvo legal questions within a legal topic, optionally narrowed by US state or keyword. Returns each question's title, body preview, asker location, date and answer count with a link to the full question.

**Price:** 20 credits per 25 results



## OpenAPI

````yaml /openapi/legal.json post /api/avvo/questions/search
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/avvo/questions/search:
    post:
      tags:
        - /avvo
      summary: /avvo/questions/search
      description: >-
        Search Avvo legal questions within a legal topic, optionally narrowed by
        US state or keyword. Returns each question's title, body preview, asker
        location, date and answer count with a link to the full question.


        **Price:** 20 credits per 25 results
      operationId: __api_avvo_questions_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AvvoQuestionsSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AvvoQuestionSearchResult'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AvvoQuestionsSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        topic:
          $ref: '#/components/schemas/AvvoQuestionTopic'
        state:
          anyOf:
            - $ref: '#/components/schemas/AvvoState'
            - type: 'null'
        keyword:
          anyOf:
            - type: string
            - type: 'null'
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - topic
        - count
    AvvoQuestionSearchResult:
      properties:
        '@type':
          type: string
          default: AvvoQuestionSearchResult
        id:
          anyOf:
            - type: string
            - type: 'null'
        question_title:
          anyOf:
            - type: string
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        asker_location:
          anyOf:
            - type: string
            - type: 'null'
        created_at:
          anyOf:
            - type: string
            - type: 'null'
        answer_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    AvvoQuestionTopic:
      type: string
      enum:
        - 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
    AvvoState:
      type: string
      enum:
        - 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
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````