Flag Status

FREEMIUM
By Aptitude Apps, LLC | Updated il y a 17 jours | Events
Popularity

8.7 / 10

Latency

143ms

Service Level

100%

Health Check

N/A

README

Introduction

The Flag Status API provides you access to half-staff events for all state flags and the U.S. flag. Whether you manage the flag at a place of business or at home, it’s important to be respectful and fly the flag appropriately. Flying a flag at half-staff or half-mast is a sign for grief and mourning. It is flown following the death of certain government officials, in times of national distress, on various holidays, and at any other time as instructed by the president or government.

Data

The Flag Status API provides the following details for half-staff events:

Flag
Issued By
Date Issued
Start Date
End Date
Title
Description
URL

Pricing Plans and Usage

Basic - This plan is suited for developers who want to try out the API for building apps or websites.
Pro - This plan is suited for small, personal apps or websites for occasional use.
Ultra - This plan provides full half-staff events and well suited for heavier commercial usage.
Mega - Enjoy unlimited requests for all endpoints. Best for enterprise usage.

Endpoints (all endpoints are GET methods)

/status/XX -> returns current status of ‘Full-staff’ or ‘Half-staff’ for the abbreviation provided in the path parameter ‘XX’
/events/XX -> returns all half-staff events for the abbreviation provided in the path parameter ‘XX’
/all -> returns every half-staff state and U.S. flag event for the last 180 days

Sample Response

[
    {
	"flag":"NY",
	"issued_by":"Governor",
	"date_issued":"2021-08-24",
	"date_start":"2021-08-25",
	"date_end":"2021-08-30",
	"title":"In honor of New York State Police Trooper James J. Monda",
	"description":"\"I am devastated by the news of the passing of New York State Police Trooper James J. Monda, an 18-year veteran of the Division who died in the line of duty while on marine detail on the Great Sacandaga Lake Sunday.\n\nOur Troopers
	serve and protect the citizens of the State and when we lose a member, we lose a piece of the community. I extend prayers and condolences from all New Yorkers to the family, fianc\u00e9e and friends of Trooper Monda.\n\nI am directing that flags on all
	state buildings be lowered to half-staff tomorrow through interment on Monday in honor of Trooper Monda. We will never forget his dedicated service to our safety and our State.\" ",
	"url":""
    }
]

Errors

400 - Invalid Request (you have specified an invalid resource or not supplied appropriate path parameters)
401 - Unauthorized (you are not authorized to use the specified endpoint)
404 - Value Not Found (the path parameter provided could not be found)

Please Note

All response data is provided in string format for easy and consistent usage.
Field order in response is not guaranteed or preserved.
In order to make our API data ever-evolving, new fields could be added at any time.

Thank you

We strive to provide the most up-to-date data available. If for any reason you notice data discrepancies, please contact us immediately so we can resolve them.

Followers: 2
API Creator:
Rapid account: Aptitude Apps LLC
Aptitude Apps, LLC
aptitudeapps
Log In to Rate API
Rating: 5 - Votes: 1