Code Monkey home page Code Monkey logo

Comments (4)

janlukasschroeder avatar janlukasschroeder commented on May 27, 2024 1

@bbkrr great pick up! thanks for clarifying. you found a very rare edge case that the converter didn't pick up. the issue is resolved and the XBRL data is returned as expected:

https://api.sec-api.io/xbrl-to-json?
token=YOUR_API_KEY&
htm-url=https://www.sec.gov/Archives/edgar/data/355379/000155837021003013/mdwt-20201231x10k.htm

from sec-api.

janlukasschroeder avatar janlukasschroeder commented on May 27, 2024

All data is available for CIK 0000355379.

Using the XBRL-JSON API and the most recent 10-Q of 0000355379, the GET request would look like this:

https://api.sec-api.io/xbrl-to-json?
token=YOUR_API_KEY&
htm-url=https://www.sec.gov/Archives/edgar/data/355379/000155837021015733/mdwt-20210930x10q.htm

from sec-api.

bbkrr avatar bbkrr commented on May 27, 2024

@janlukasschroeder

Actually I was looking for the 10K data which is available in Edgar database but sec-api threw an error.

url: https://www.sec.gov/Archives/edgar/data/355379/000155837021003013/mdwt-20201231x10k.htm

from sec-api.

bbkrr avatar bbkrr commented on May 27, 2024

@janlukasschroeder

Thank you for the quick change. Indeed we get the data from url='https://www.sec.gov/Archives/edgar/data/355379/000155837021003013/mdwt-20201231x10k.htm'.

But it should also give the result for url='https://www.sec.gov/Archives/edgar/data/0000355379/000155837021003013/mdwt-20201231x10k.htm'.

Which is same CIK but only added with zeros at the beginning. CIK = 355379 or CIK = 0000355379.

I checked this with other companies using sec-api and it works for all the other companies even if there are zeros in the beginning but it does not work for this company.

from sec-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.