{"source":"shortsalg","operation":"get_short_history","description":"Every disclosed short position event for one instrument. Signature: get_short_history(instrument: string, required; from_date: string, optional, default None; to_date: string, optional, default None; limit: integer, items, optional, default 100; offset: integer, items, optional, default 0).","signature":"get_short_history(instrument: string, required; from_date: string, optional, default None; to_date: string, optional, default None; limit: integer, items, optional, default 100; offset: integer, items, optional, default 0)","parameters":[{"name":"instrument","type":"string","schema":{"type":"string"},"required":true,"default":null,"description":"An ISIN (exact) or an issuer name (case-insensitive substring, e.g. \"BORR DRILLING\"). An ambiguous name raises an error listing the candidates; use the ISIN then.","unit":null},{"name":"from_date","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Inclusive start date, YYYY-MM-DD. Optional.","unit":null},{"name":"to_date","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Inclusive end date, YYYY-MM-DD. Optional.","unit":null},{"name":"limit","type":"integer","schema":{"type":"integer"},"required":false,"default":100,"description":"Max events to return, 1-1000 (default 100). Unit: items.","unit":"items"},{"name":"offset","type":"integer","schema":{"type":"integer"},"required":false,"default":0,"description":"Results to skip before the first one returned (default 0); with limit, pages through every match. Unit: items.","unit":"items"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/shortsalg/get_short_history?instrument={instrument}&from_date={from_date}&to_date={to_date}&limit=100&offset=0","schema_scope":"#/data in the successful operation envelope","response_schema":{"type":"object","properties":{"isin":{"type":["string","null"]},"issuer":{"type":["string","null"]},"count":{"type":"integer"},"returned":{"type":"integer"},"events":{"type":"array","items":{"type":"object","properties":{"date":{"type":["string","null"]},"short_percent":{"type":["number","null"]},"shares":{"type":["number","null"]},"holders":{"type":"array","items":{"type":"object","properties":{"holder":{"type":["string","null"]},"short_percent":{"type":["number","null"]},"shares":{"type":["number","null"]},"date":{"type":["string","null"]}},"additionalProperties":false}}},"additionalProperties":false,"required":["date","short_percent","shares","holders"]}}},"additionalProperties":false,"required":["isin","issuer","count","returned","events"]},"response_schema_status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"entity_projection":{"status":"projected","entity_types":["financial_instrument"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"error_contract":{"scope":"top-level HTTP error response; never part of a success payload","schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object"}},"additionalProperties":false,"required":["code","message","retryable"]},"suggestion":{"type":"string"},"_meta":{"type":"object","properties":{"retrieved_at":{"type":"string","format":"date-time"},"language":{"type":"string","const":"en"},"content_languages":{"type":"array","items":{"type":"string"}},"sources":{"type":"array","items":{"type":"object"}}},"required":["retrieved_at","language","content_languages","sources"]},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"api_index":{"type":"string","format":"uri"},"feedback":{"type":"string","format":"uri"}},"required":["self","api_index","feedback"],"additionalProperties":false}},"additionalProperties":false,"required":["error","suggestion","_meta","_links"]},"statuses":{"400":{"codes":["MISSING_PARAMETER","INVALID_PARAMETER","INVALID_REQUEST"],"retryable":false},"404":{"codes":["SOURCE_NOT_FOUND","OPERATION_NOT_FOUND","ENTITY_NOT_FOUND"],"retryable":false},"429":{"codes":["RATE_LIMITED","GATEWAY_RATE_LIMITED"],"retryable":true},"503":{"codes":["SOURCE_UNAVAILABLE"],"retryable":true},"500":{"codes":["INTERNAL_ERROR"],"retryable":true}}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/shortsalg/get_short_history/schema","operation":"https://allemannsdata.com/wiki/api/v1/kilder/shortsalg/get_short_history","source":"https://allemannsdata.com/wiki/api/v1/kilder/shortsalg","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"},"output_fields":["isin","issuer","count","returned","events","events[].date","events[].short_percent","events[].shares","events[].holders","events[].holders[].holder","events[].holders[].short_percent","events[].holders[].shares","events[].holders[].date"],"output_fields_truncated":false,"canonical_field_aliases":{"date":["events[].date","events[].holders[].date"]},"response_example":{"source":"shortsalg","operation":"get_short_history","parameters":{"instrument":"example value","from_date":"2026-01-15","to_date":"2026-01-15","limit":100,"offset":0},"data":{"isin":"example value","issuer":"example value","count":1,"returned":1,"events":[{"date":"2026-01-15","short_percent":1.0,"shares":1.0,"holders":[{"holder":"example value","short_percent":1.0,"shares":1.0,"date":"2026-01-15"}]}]},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"shortsalg","name":"Short sale register","description":"Disclosed net short positions of 0.5 percent or more in Norwegian-listed shares, with named holders and a two-year daily history, from Finanstilsynet's Short Sale Register.","cache_ttl_seconds":3600,"documentation":"https://ssr.finanstilsynet.no/"}]},"_provenance":{"data":{"source":"shortsalg","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/shortsalg"},"entities":{"source":"shortsalg","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/shortsalg","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/shortsalg/get_short_history","source":"https://allemannsdata.com/wiki/api/v1/kilder/shortsalg","wiki":"https://allemannsdata.com/wiki/kilder/shortsalg/get_short_history/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}}
