Skip to content

Instantly share code, notes, and snippets.

@mailtruck
Created May 18, 2017 15:03
Show Gist options
  • Save mailtruck/393a1292b8b61fd64bcbe9f0648dcde1 to your computer and use it in GitHub Desktop.
Save mailtruck/393a1292b8b61fd64bcbe9f0648dcde1 to your computer and use it in GitHub Desktop.
swagger: "2.0"
info:
version: "1.0"
title: Benzinga Delayed Quote API
description: Benzinga Delayed Quote REST API
host: api.benzinga.com
basePath: /api/v1
schemes:
- http
- https
security:
- token: []
paths:
/quoteDelayed:
get:
summary: Get the delayed quotes.
parameters:
- name: accept
in: header
type: string
description: Specify return format.
enum: ["application/json","application/xml"]
- name: symbols
in: query
type: string
- name: isin
in: query
type: string
- name: cik
in: query
type: string
responses:
200:
description: "success"
schema:
$ref: "#/definitions/DelayedQuotesResponse"
securityDefinitions:
token:
type: apiKey
name: "token"
in: query
definitions:
DelayedQuotesResponse:
type: object
properties:
quotes:
type: array
items:
type: object
properties:
security:
type: object
properties:
symbol:
type: string
cik:
type: string
valoren:
type: string
name:
type: string
quote:
type: object
properties:
date:
type: string
open:
type: float
format: double
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment