DVIDS API Search API

Full-text search across DVIDS assets

Operations 1

GET /search Search assets #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dvids-api-search-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dvids-api-search-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DVIDS Asset Search API
  description: The Defense Visual Information Distribution Service (DVIDS) API provides programmatic access to U.S. military news, photos, video, audio, publications, units, and live events. The API is implemented as JSON over HTTP and requires a public API key.
  version: v2
  contact:
    name: DVIDS
    url: https://api.dvidshub.net/
servers:
- url: https://api.dvidshub.net
  description: DVIDS API
security:
- apiKey: []
tags:
- name: Search
  description: Full-text search across DVIDS assets
paths:
  /search:
    get:
      operationId: searchAssets
      summary: Search assets
      description: Full text search across DVIDS news, video, image, audio, publications, webcasts, and graphics.
      tags:
      - Search
      parameters:
      - name: api_key
        in: query
        required: true
        schema:
          type: string
      - name: q
        in: query
        schema:
          type: string
      - name: branch
        in: query
        schema:
          type: string
          enum:
          - Army
          - Navy
          - Air Force
          - Marines
          - Coast Guard
          - Joint
          - Civilian
          - Space Force
      - name: type
        in: query
        schema:
          type: string
          enum:
          - news
          - video
          - image
          - audio
          - publication_issue
          - webcast
          - graphics
      - name: category
        in: query
        schema:
          type: string
      - name: categories_exclude
        in: query
        schema:
          type: string
      - name: country
        in: query
        schema:
          type: string
      - name: state
        in: query
        schema:
          type: string
      - name: city
        in: query
        schema:
          type: string
      - name: unit_name
        in: query
        schema:
          type: string
      - name: unit
        in: query
        schema:
          type: string
      - name: unit_id
        in: query
        schema:
          type: integer
      - name: credit
        in: query
        schema:
          type: string
      - name: from_date
        in: query
        schema:
          type: string
      - name: to_date
        in: query
        schema:
          type: string
      - name: from_publishdate
        in: query
        schema:
          type: string
      - name: to_publishdate
        in: query
        schema:
          type: string
      - name: timestamp
        in: query
        schema:
          type: string
      - name: from_duration
        in: query
        schema:
          type: integer
      - name: to_duration
        in: query
        schema:
          type: integer
      - name: aspect_ratio
        in: query
        schema:
          type: string
      - name: hd
        in: query
        schema:
          type: integer
      - name: has_image
        in: query
        schema:
          type: boolean
      - name: has_captions
        in: query
        schema:
          type: boolean
      - name: max_results
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 50
          default: 50
      - name: page
        in: query
        schema:
          type: integer
      - name: sort
        in: query
        schema:
          type: string
      - name: sortdir
        in: query
        schema:
          type: string
          enum:
          - asc
          - desc
      - name: format
        in: query
        schema:
          type: string
          enum:
          - json
          - rss
      - name: fields
        in: query
        schema:
          type: string
      - name: thumb_width
        in: query
        schema:
          type: integer
      - name: thumb_height
        in: query
        schema:
          type: integer
      - name: thumb_quality
        in: query
        schema:
          type: integer
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssetListResponse'
        '400':
          description: Invalid parameters
        '403':
          description: Authentication issue
        '503':
          description: Unavailable
components:
  schemas:
    Asset:
      type: object
      properties:
        id:
          type: string
        title:
          type: string
        description:
          type: string
        keywords:
          type: string
        date:
          type: string
        date_published:
          type: string
        timestamp:
          type: string
        branch:
          type: string
        unit_name:
          type: string
        image:
          type: string
        thumbnail:
          type: string
        url:
          type: string
        credit:
          type: array
          items:
            type: object
            additionalProperties: true
        location:
          type: object
          properties:
            city:
              type: string
            state:
              type: string
            country:
              type: string
        rating:
          type: number
        virin:
          type: string
        duration:
          type: integer
        aspect_ratio:
          type: string
    PageInfo:
      type: object
      properties:
        total_results:
          type: integer
        results_per_page:
          type: integer
    AssetListResponse:
      type: object
      properties:
        page_info:
          $ref: '#/components/schemas/PageInfo'
        results:
          type: array
          items:
            $ref: '#/components/schemas/Asset'
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: api_key
externalDocs:
  description: DVIDS API Documentation
  url: https://api.dvidshub.net/docs