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

# /politico/articles/search

> Search the POLITICO archive across every edition — Europe, UK, France, Germany and the cross-published US desk. Combine a full-text query with policy section, tag, author and post-type filters and a publication date range. Each match carries the headline, an opening excerpt, the publication timestamp, the credited authors, the policy sections and the tag list.

**Price:** 1 credit



## OpenAPI

````yaml /openapi/news-publishing.json post /api/politico/articles/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/politico/articles/search:
    post:
      tags:
        - /politico
      summary: /politico/articles/search
      description: >-
        Search the POLITICO archive across every edition — Europe, UK, France,
        Germany and the cross-published US desk. Combine a full-text query with
        policy section, tag, author and post-type filters and a publication date
        range. Each match carries the headline, an opening excerpt, the
        publication timestamp, the credited authors, the policy sections and the
        tag list.


        **Price:** 1 credit
      operationId: __api_politico_articles_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PoliticoArticlesSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PoliticoArticleCard'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PoliticoArticlesSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        keyword:
          anyOf:
            - type: string
            - type: 'null'
        sections:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
        tag_ids:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
        author_ids:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
        post_types:
          anyOf:
            - items:
                $ref: '#/components/schemas/PoliticoPostType'
              type: array
            - type: 'null'
        published_after:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
        published_before:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - count
    PoliticoArticleCard:
      properties:
        '@type':
          type: string
          default: PoliticoArticleCard
        id:
          type: string
        article_title:
          type: string
        web_url:
          type: string
        excerpt:
          anyOf:
            - type: string
            - type: 'null'
        published_at:
          anyOf:
            - type: integer
            - type: 'null'
        post_types:
          items:
            type: string
          type: array
          default: []
        image:
          anyOf:
            - type: string
            - type: 'null'
        image_small:
          anyOf:
            - type: string
            - type: 'null'
        image_caption:
          anyOf:
            - type: string
            - type: 'null'
        authors:
          items:
            $ref: '#/components/schemas/PoliticoAuthor'
          type: array
          default: []
        sections:
          items:
            $ref: '#/components/schemas/PoliticoSection'
          type: array
          default: []
        tags:
          items:
            $ref: '#/components/schemas/PoliticoTag'
          type: array
          default: []
      type: object
      required:
        - id
        - article_title
        - web_url
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    PoliticoPostType:
      type: string
      enum:
        - article
        - newsletter
        - sponsored-content
        - pro-free
    PoliticoAuthor:
      properties:
        '@type':
          type: string
          default: PoliticoAuthor
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          type: string
        alias:
          anyOf:
            - type: string
            - type: 'null'
        profile_url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    PoliticoSection:
      properties:
        '@type':
          type: string
          default: PoliticoSection
        alias:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - alias
    PoliticoTag:
      properties:
        '@type':
          type: string
          default: PoliticoTag
        id:
          type: string
        name:
          type: string
      type: object
      required:
        - id
        - name
    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

````