Build with HistoryLines
Getting Started
This HistoryLines API provides easy access to HistoryLines data and features to integrate into applications and websites.The API is based on the REST architecture, and all API calls return JSON objects.
Every API request requires a valid access key, managed in your account, added to the REST request as a parameter "key".
Getting Story Content
Returns: list of matching story snippets: place descriptions, lifestyle dimensions, and events.
Results
{ "request": { "first_name": "...", "end_date": "...", "birth_date": "...", "middle_name": "...", "last_name": "...", "gender": "...", "place": "...", "start_date": "...", "key": "..." }, "data": [ { "location_code": "...", "age": "...", "impact_id": "...", "impact_score": "...", "start_date": "...", "end_date": "...", "caption": "...", "headline": "...", "snippet": "...", "type": "..." } ], "ping_id": "...", "code": "200", "msg": "Success" }
Response Codes
200 | Successful request |
300 | Access key not found |
301 | Access key not valid |
302 | Access key not active |
303 | Access key limit usage reached |
360 | Parameter not valid |
370 | Required parameter not found |
400 | Error processing request |
Reusing Story Content
Returns: response code and message acknowledging the reuse of content
Results
{ "code": "200", "msg": "Success" }
Response Codes
200 | Successful request |
300 | Access key not found |
301 | Access key not valid |
302 | Access key not active |
303 | Access key limit usage reached |
370 | Required parameter not found |
400 | Error processing request |
Terms of Use for HistoryLines API
Overview
We believe that history is a key element in telling the story of a person's life. The HistoryLines API is intended to allow developers, companies, and partners to build engaging and insightful products and stories about our ancestors.Copyright
All HistoryLines is copyright HistoryLines.com, and HistoryLines maintains all rights to that content, except as where expressly attributed. Usage of the API does not transfer rights or ownership of the content.Restrictions
Access to the API is free to approved developers, intended for prototyping applications that use HistoryLines content. The following free access restrictions are enforced:- No more than 50 API calls per 24 hours (rolling).
- The number of results are truncated.
- The content in the results is truncated.
Contact us for full access to the API.
Responsibilities
- You must not violate any law or the rights of any individual or entity.- You must not impersonate HistoryLines, or attempt to collect HistoryLines email addresses and passwords.
- You must not attempt to circumvent restrictions and limitations enforced by the API.
Storing and Using Data
- You may not store any of the data you receive from HistoryLines, unless you have expressed, written consent.- You must not write apps that attempt to harvest HistoryLines data systematically.